I have only seen in tutorials how to define it with one or possibly
infinite arguments. I am using this kind of macro:
#define DEFUN( name, argcount, fpointer) do { \
cl_def_c_function(c_string_to_object(name), \
(cl_objectfn_fixed)fpointer, \
argcount); \
} while (0)
which works fine for functions defined as
cl_object foo(cl_narg narg, ...)
but how can you do the same for functions with lets say one argument?
I tried
cl_object foo(cl_narg narg, cl_object v1, ...)
but then argument v1 is total garbage.
--
Bc. Peter Vaňušanik
http://www.bishojo.tk
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Ecls-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecls-list