[vtkusers] variable argument functions don't wrap?

tom fogal tfogal at apollo.sr.unh.edu
Fri Jun 11 14:29:38 EDT 2004


I'm trying to use a variable argument function in an object
I've written but it doesn't seem to be able to wrap the 
object into python code:

Building Custom command /home/tfogal/tarballs/vtk/IO/vtkGGCMReaderPython.cxx...
   Parsed func New
   Parsed func PrintSelf
   Parsed func SetGridList
   Parsed func SetFieldList
syntax error
*** SYNTAX ERROR found in parsing the header file /home/tfogal/tarballs/VTK/IO/vtkGGCMReader.h before line 72***

The functions after SetFieldList that it is choking on are
declared like:

   void SetGridWrapper(int num, ...);
   void SetFieldWrapper(int num, ...);

I imagine there is a program somewhere that does the C++ to
Python conversion -- perhaps it was never told about
variable argument functions?

Thanks,

-tom



More information about the vtkusers mailing list