resonance 1.0.1
Loading...
Searching...
No Matches
extensionmodulebaseptr.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace Py {
7
22class ExtensionModuleBasePtr : public PythonExtension<ExtensionModuleBasePtr> {
23public:
31 explicit ExtensionModuleBasePtr(ExtensionModuleBase *pModule) : mModule(pModule) {
32 }
33
41 }
42
45};
46
47} // namespace Py
virtual ~ExtensionModuleBasePtr()
Destroy the wrapper without destroying the module.
Definition extensionmodulebaseptr.h:40
ExtensionModuleBasePtr(ExtensionModuleBase *pModule)
Wrap a module.
Definition extensionmodulebaseptr.h:31
ExtensionModuleBase * mModule
The wrapped module.
Definition extensionmodulebaseptr.h:44
Base of an extension module the binding registers with the interpreter.
Definition extensionmodulebase.h:22
PythonExtension()
Definition pythonextension.h:91
C++ wrappers for the embedded Python interpreter's objects, types, and extension modules.
Definition attributeerror.h:7