logo       

%typemap(argout) does not support sequences of consecutive argume nts.: msg#00076

programming.swig

Subject: %typemap(argout) does not support sequences of consecutive argume nts.

Hi,

I need to define a typemap as follow :

%typemap(argout) int * , aecErrorData * {

}

I need this as arg1 (int * ) specifies the validity of arg2 (aecErrorData * )

This is not supported as far as I can see !

I can use $1 and $2 to specify the arguments on the C++ side but
I only have $input on the other side, so I can not return a value for the
second argument !

I could use 2 %typemap(argout) but then I would have to hardcode some variable
names,
which could result in a disaster in the future.

Thank you for your assistance,

Benjamin David


_______________________________________________
Swig maillist - Swig@xxxxxxxxxxxxxxx
http://mailman.cs.uchicago.edu/mailman/listinfo/swig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise