From: William S F. <ws...@fu...> - 2006-07-31 20:17:25
|
Rodrigo Castelan Carlson wrote: > Hello! > > I have a function that swaps the numbers of struct 'stest' members. > > typedef struct { > int number1; > int number2; > } stest; > > int swap(stest n); > > I would like to be able to use INOUT so that 'n' is the input argument and > also the output argument. My target language is Python, but I would > appreciate any help. > This works without using INOUT typemaps. INOUT typemaps are largely for primitive types. William |