Release 2 of Zerich 1b is available now. Basically, it is a fix for
SharedLibrary. There is no need whatsoever for a createSharedLibrary()
method. Rather, SharedLibrary is supposed to be a regular class.
void demo::example( int argc, char *argv[], kernel ) {
SharedLibrary lib("decaf");
void (*decaf_main)(int argc, char *argv[], kernel *k);
decaf_main = lib.getMethod( "decaf_main" );
decaf_main( argc, argv, kernel );
}
_______________________________________________
Kernel maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel