On Thu, 6 Jul 2000, Tim Rowledge wrote:
Now, the recent external primitive rework has broken this. To look up an internal function, the program module itself must be loaded via dlopen(NULL,...) - something that has vanished from the sources.
If I'm understanding your problem right, this is done by adding your function to the list in the file platform.exports which then adds it to the list of internal prims.
Not quite. This is for *FFI* calls, like the system() example. You can't know in advance what function will be called. That's the whole point of having FFI. It's about calling functions in the libc which is already linked to the VM so it can't be loaded as external library.
-- Bert