Back before Thanks giving vacation I ask a question
of how to handle ... when passed into an xs function.
I go messages and got everyting working.  Thanks a-plenty

What I need to know now is how to pass ... into a c routine
from XS.

XS

int 
x(class,type,...)
char* class
int   type
CODE:
{
  int x = x(type,????);
  RETVAL = x;
}
OUTPUT:
  RETVAL


C code

int x(int type,...)
{
  do stdarg stuff
  return value;
}

Since I'm using this c library for both c programs
and for perl I need to chack all values in the c
routine, not in the xs.  So how do I pass the ...
straight through?

Is there some way of building up a ??? so that I can

for (i = 2; i < items; i++)
{
  add ST(i) to list
}

RETVAL = x(type,list);


?????

Reply via email to