If I have a xs routine :
Laff::Node
New(class,ltype=lNOOP,...)
char *class
int ltype
CODE:
{
RETVAL = node_malloc(ltype);
}
OUTPUT:
RETVAL
You'll notice the ,...
Do I have to treat this just like a
regular c routine with stdargs
Here the node_malloc:
node_p node_malloc(int ltype,...)
{
node_p retp;
va_list arg_ptr;
va_start(arg_ptr,ltype);
switch(ltype) {
....
}
I now I'll need to transfor some of the list
pointers into lists needed by node_malloc
