Next: Automated interface generation using SWIG, Previous: C interface internals, Up: C Interface [Contents][Index]
open-lib ( c-addr1 u1 – u2 ) gforth-0.6 “open-lib”
lib-sym ( c-addr1 u1 u2 – u3 ) gforth-0.6 “lib-sym”
lib-error ( – c-addr u ) gforth-0.7 “lib-error”
Error message for last failed open-lib or lib-sym.
call-c ( ... w – ... ) gforth-0.6 “call-c”
Call the C function pointed to by w. The C function has to access the stack itself. The stack pointers are exported into a ptrpair structure passed to the C function, and returned in that form.