SWIG struct pointer as output parameter
SWIG struct pointer as output parameter Question: I have a struct: struct some_struct_s { int arg1; int arg2; }; I have a C function: int func(some_struct_s *output); Both are %included into my SWIG file. I want some_struct_s *output to be treated like an output parameter. Python example: int_val, some_struct_output = func() “Output parameters” is covered …