[Ecls-list] libraries and init function

todd ingalls testcase at asu.edu
Tue Jan 9 20:59:09 UTC 2007


Hi,
When building libraries with (c:build-shared-library ... :init-name  
"init_FOO") I have a couple of questions:

1. what is the prototype for init_FOO ? Is it similiar to what I see  
in individual c-files? for instance if i compile a file like
	(compile-file "fl.lisp" :system-p t :h-file t :c-file t)
	i see something like :
	void init_FL(cl_object flag)
	

2. in this instance, what is the flag cl_object that is suppose to be  
passed to this function? I can see it is
a cblock but I am not sure how to create this or where to get this from.


any help would be appreciated.


todd




More information about the ecl-devel mailing list