In general is this even possible, or am I trying to do something it wasn't 
intended for?  I haven't been able to find an example that shows it working but 
I also haven't found anything in the docs that says it can't be done either.

For example in the .xs file:

/* defines go first */
....

/* C helper functions, these work when called from subs below */

MODULE=Foo  PACKAGE=Foo

int
bar (some inputs)
INIT:
....
CODE:
....
OUTPUT:
   RETVAL
   
int
foobar (some inputs)
INIT:
....
CODE:
....
   num = bar(the inputs);  //This doesn't work
....
OUTPUT:
   RETVAL
   
Thanks,
Belinda

Reply via email to