[Ecls-list] libraries and init function

todd ingalls testcase at asu.edu
Tue Jan 9 21:40:20 UTC 2007


silly me, i see this is all taken care of when using (load ...) on  
the library. sorry.




On Jan 9, 2007, at 1:59 PM, todd ingalls wrote:

> 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
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list





More information about the ecl-devel mailing list