| 2681 | SWIG_Python_DestroyModule(PyObject *obj) |
| 2682 | #else |
| 2683 | SWIG_Python_DestroyModule(void *vptr) |
| 2684 | #endif |
| 2685 | { |
| 2686 | #ifdef SWIGPY_USE_CAPSULE |
| 2687 | swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME); |
| 2688 | #else |
| 2689 | swig_module_info *swig_module = (swig_module_info *) vptr; |
| 2690 | #endif |
| 2691 | swig_type_info **types = swig_module->types; |
| 2692 | size_t i; |
| 2693 | for (i =0; i < swig_module->size; ++i) { |
| 2694 | swig_type_info *ty = types[i]; |
| 2695 | if (ty->owndata) { |
| 2696 | SwigPyClientData *data = (SwigPyClientData *) ty->clientdata; |
| 2697 | if (data) SwigPyClientData_Del(data); |
| 2698 | } |
| 2699 | } |
| 2700 | Py_DECREF(SWIG_This()); |
| 2701 | swig_this = NULL; |
| 2702 | } |
| 2703 | |
| 2704 | SWIGRUNTIME void |
| 2705 | SWIG_Python_SetModule(swig_module_info *swig_module) { |
nothing calls this directly
no test coverage detected