Yes, the callback is overwritten later in the program flow.
I looked into it a few years back and thought, it was too big, does too many things. But somebody could build an interface to libffi using the 'import' function?
For 90% of lib imports the existing 'import' facility gives what is needed. For anything else, write a 'C' interface stub, which then gets imported by newLISP.
I looked into it a few years back and thought, it was too big, does too many things. But somebody could build an interface to libffi using the 'import' function?
For 90% of lib imports the existing 'import' facility gives what is needed. For anything else, write a 'C' interface stub, which then gets imported by newLISP.