Convert a pointer value, signal an exception on a type mismatch */
| 2859 | |
| 2860 | /* Convert a pointer value, signal an exception on a type mismatch */ |
| 2861 | SWIGRUNTIME void * |
| 2862 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) { |
| 2863 | void *result; |
| 2864 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { |
| 2865 | PyErr_Clear(); |
| 2866 | #if SWIG_POINTER_EXCEPTION |
| 2867 | if (flags) { |
| 2868 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); |
| 2869 | SWIG_Python_ArgFail(argnum); |
| 2870 | } |
| 2871 | #endif |
| 2872 | } |
| 2873 | return result; |
| 2874 | } |
| 2875 | |
| 2876 | SWIGRUNTIME int |
| 2877 | SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { |
nothing calls this directly
no test coverage detected