search for: inoutx

Displaying 1 result from an estimated 1 matches for "inoutx".

Did you mean: inout
2006 Aug 26
1
Typemap simplification
...in. Take the following for example: void MyFunc( int *x, int *y ) const You can''t tell looking at this function whether x and y are inputs, outputs or both (Well, you might can assume they''re not input only). If we slightly modify the header files: void MyFunc( int *INOUTx, int *INOUTy ) const Then it''s really obvious -and- we can make a typemap that sucks those up easily. The real bear for us is when two functions in a header file treat the pointers differently: void MyFunc( int * x, int * y ) const // In/Out void MyFunc2( int *x, int *y ) co...