I've gotten rid of the automatic loading of the library and replacement of stub functions upon their first call. While this seemed convenient I didn't like that the stub versions of the functions could be passed around as objects without the user knowing that it was not the "real" version being used. And while it would have no functional impact, those versions would keep replacing their var root every time they were called which felt very icky. Instead there is now an additional function generated besides the mapped C functions which is called loadlib-libname (libname is the name of the C lib) which must be called (at runtime) before any of the library functions. The library functions still have stubs so that it's possible to link other clojure functions against them at compile time but the stubs now throw an exception telling the user to run the loadlib function first.
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en