[Ecls-list] Library init function

Julian Stecklina der_julian at web.de
Tue May 16 23:47:02 UTC 2006


"Goffioul Michael" <goffioul at imec.be> writes:

>> What should be passed as cblock, if the library is 
>> initialized from C code? Calling it with NULL obviously 
>> causes a SEGV...
>
> What I do in my MATLAB interface is not calling directly the init
> function, but using the read_VV, which takes care of calling the
> init function with the right arguments, like:
>
> 	read_VV(OBJNULL, init_MYMODULE);

That is what I do now, too, but then the point of having a named init
function is lost. :)

Regards,
-- 
Julian Stecklina

"I object to doing things that computers can do." - Olin Shivers




More information about the ecl-devel mailing list