mir-pybind ~master (2021-11-13T02:27:39.9494978)
Dub
Repo
defModule
mir
pybind
template to define python module (wrapper of PyModuleDef)
mixin template
defModule (
string
modName
string
modDoc
PyMethodDef
[]
defs
) {
extern (
C
)
enum
PyModuleDef_Base
PyModuleDef_HEAD_INIT
;
extern (
C
)
enum
PyMethodDef
PyMethodDef_SENTINEL
;
void
rtAtExit
();
extern (
C
) extern (
D
) static
PyModuleDef
mod
;
extern (
C
) extern (
D
) static
auto
methods
;
}
Members
Functions
rtAtExit
void
rtAtExit
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
methods
auto
methods
;
Undocumented in source.
mod
PyModuleDef
mod
;
Undocumented in source.
Variables
PyMethodDef_SENTINEL
enum
PyMethodDef
PyMethodDef_SENTINEL
;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyModuleDef_HEAD_INIT
enum
PyModuleDef_Base
PyModuleDef_HEAD_INIT
;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Meta
Source
See Implementation
mir
pybind
modules
conv
format
pyapi
enums
def
mixin templates
defModule
template to define python module (wrapper of PyModuleDef)