|
From: Cherry, J. (NIH/NLM/N. [E] <jc...@nc...> - 2016-02-03 22:10:24
|
> typedef int64_t AIORET_TYPE. > > I have a number of functions that return this AIORET_TYPE type. Hence I don't want to create custom signatures for all of these functions. > > > My problem is that SWIG believes that this is a structure, is allocating > memory ( of size AIORET_TYPE ) to copy this value into , and it is > returning as a PyObject *. > >How can I get SWIG to ignore this type and realize that nothing needs to >be allocated ? I imagine that SWIG does not know of int64_t. You may just need to %include stdint.i . Josh |