autowrap v0.7.0 (2022-10-10T08:24:09Z)
Dub
Repo
toCFunction
autowrap
pynih
wrap
Undocumented in source.
template
toCFunction
(alias functionSymbol, string identifier = "")
template
toCFunction
(alias F, string identifier = __traits(identifier, F).toSnakeCase)
template
toCFunction (
alias
F
string
identifier
= __traits(
identifier
,
F
).
toSnakeCase
)
if
(
isSomeFunction
!
F
) {
struct
PythonFunction
(alias F)
via
import
python
.
type
:
PythonFunction
;
;
struct
CFunction
(alias F, string I = "")
via
import
python
.
boilerplate
:
CFunction
;
;
alias
toCFunction
=
CFunction
!(
PythonFunction
!
F
.
_py_function_impl
,
identifier
)
;
}
Members
Aliases
toCFunction
alias
toCFunction
=
CFunction
!(
PythonFunction
!
F
.
_py_function_impl
,
identifier
)
Undocumented in source.
Meta
Source
See Implementation
autowrap
pynih
wrap
functions
addConstants
createDlangPythonModule
createPythonModule
createPythonModuleMixin
wrapDlang
static variables
PyDateTimeAPI
templates
aggregates
cfunctions
toCFunction