"fun" is the name created by that typedef. It is the type of pointers to
functions from "any" to "any".

"any" is defined on line 56 of pico.h as a pointer to struct cell.

John

On Fri, Feb 25, 2011 at 2:20 PM, Ana Zgombic <morse...@nybl.info> wrote:

> Hi list,
>
> i'm looking at the picolisp implementation in C. i hope you don't mind
> me asking here every so often since my C chops is only good for app
> development and not good enough for language implementations.
>
> here's the line:
>
> > typedef any (*fun)(any);
>
> as i understand it, it says typedef "any" to a "function returning a
> pointer which takes an argument 'any'". and "any" is defined as a
> typedef to a pointer to a"struct cell".
>
> did i get that one right?
>
> Ana
>
> --
> http://nybl.info
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>



-- 
John Duncan
University of Georgia College of Veterinary Medicine
Class of 2012
SCAVMA Treasurer Emeritus
VBMA President Emeritus

Reply via email to