Luís Oliveira luismbo@gmail.com writes:
On 2005-sep-27, at 01:43, Surendra Singhi wrote:
[1]I didn't find any function for closing foreign libraries. This is needed because, some libraries (wxWidgets, for instance) has static initializers problem, once the program finishes, if the interpreter tries to run the program again the library will crash as things don't get initialized properly second time.
Hello Surendra,
I just pushed a patch to cffi-luis that implements close-foreign- library for CMUCL, SBCL, Allegro, CLISP, Lispworks and OpenMCL. It's still unexported so you'll have to call it using (cffi::close-foreign- library <name>).
Thanks.
Do let me know if it works for you.
Sure, I will test it and let you know in couple of days.