[Ecls-list] ecl_def_c_function with a non-void function

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Mon Apr 12 20:38:26 UTC 2010


   ecl_def_c_function(ecl_read_from_cstring("test-void"),
(cl_objectfn_fixed)&test_void, 0);
   ecl_def_c_function(ecl_read_from_cstring("test-2args"),
(cl_objectfn_fixed)&test_2args, 2);

C++ compilers are more strict than C ones. Forcing the type manually
sometimes shuts down up.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100412/5c198969/attachment.html>


More information about the ecl-devel mailing list