| 2054 | /* Acquire a pointer value */ |
| 2055 | |
| 2056 | SWIGRUNTIME int |
| 2057 | SWIG_Python_AcquirePtr(PyObject *obj, int own) { |
| 2058 | if (own == SWIG_POINTER_OWN) { |
| 2059 | SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj); |
| 2060 | if (sobj) { |
| 2061 | int oldown = sobj->own; |
| 2062 | sobj->own = own; |
| 2063 | return oldown; |
| 2064 | } |
| 2065 | } |
| 2066 | return 0; |
| 2067 | } |
| 2068 | |
| 2069 | /* Convert a pointer value */ |
| 2070 |
nothing calls this directly
no outgoing calls
no test coverage detected