|
RE: %typemap(argout) does not support sequences of consecu tive argume nts.: msg#00079programming.swig
David Benjamin-bdavid02 writes: > I would like to do something similar to this : > > %typemap(argout) (int *, aecErrorData *) > { > // Process the int * > $input = doSomething($1); > > // Process the aecErrorData * > $input2 = doSomethingElse($2); > } > > And here I am really stuck: > $1 ---- > $input > $2 ---- > ????? > > $2 does not have a counterpart... > What does $input have to do with output arguments? If you want to output multiple arguments, you need to be working with $result, not $input. However, assuming that both input arguments are available, you can probably use $1_input and $2_input to obtain their original values. -- Dave _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: %typemap(argout) does not support sequences of consecu tive argume nts.: 00079, David Benjamin-bdavid02 |
|---|---|
| Next by Date: | Directors and returning by value.: 00079, Kerim Borchaev |
| Previous by Thread: | RE: %typemap(argout) does not support sequences of consecu tive argume nts.i: 00079, David Benjamin-bdavid02 |
| Next by Thread: | Directors and returning by value.: 00079, Kerim Borchaev |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |