Hello, I would like to create a procedure from an address of a C routine on the stack. I get the address as follows:
include lib.fs library aard aardvark.so 1 (int) aard aa_load_function aa_load_function ( name -- address ) s\" aa_find_devices\0" drop aa_load_function Now I've got the address of a C routine on top of stack and would like to create a Gforth procedure for: int aa_find_devices(int a, int b). >From looking into lib.fs, it looks like this is possible using one of the vxproc functions, but I'm not experienced enough with Forth and Gforth to figure it out. Any Ideas? Thanks, Chuck --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
