On Monday 28 July 2003 13:15, Jorge Acereda Maci� wrote:
> Ok, let's put a better example. If I have this function:
>
> float foo (void * a, float b);
>
> What would you use to access it under bigFORTH?

libfoo foo df int (fp) foo ( a b -- r )

df: double float, sf: single float. Having a ptr for pointers instead of int 
would be ok. Parameters are build up in reverse (i.e. each parameter 
declaration takes the top of stack as it wents along).

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to