python.embedded

Undocumented in source.

Members

Aliases

py_stmts
alias py_stmts = evalStatements
Undocumented in source.

Classes

InterpContext
class InterpContext
Undocumented in source.

Functions

callObject
PyObject* callObject(PyObject* o, PyObject* args)
Undocumented in source. Be warned that the author may not have intended to support it.
construct
PyObject* construct(string moduleName, string className)
Undocumented in source. Be warned that the author may not have intended to support it.
evalExpression
T evalExpression(string pythonExpression, string pythonModule, string file, size_t line)

Evaluate a python expression once and return the result.

evalSimpleString
void evalSimpleString(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
evalStatements
auto evalStatements(string pythonStatements, string module_, string file, size_t line)

Evaluate one or more python statements once.

getMember
PyObject* getMember(PyObject* parent, string memberName)
Undocumented in source. Be warned that the author may not have intended to support it.
getModuleMember
PyObject* getModuleMember(string moduleName, string memberName)
Undocumented in source. Be warned that the author may not have intended to support it.
initializePython
void initializePython()
Undocumented in source. Be warned that the author may not have intended to support it.
pyBuildValue
PyObject* pyBuildValue(string formatString, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
pyImportModule
PyObject* pyImportModule(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
pyIsInitialized
bool pyIsInitialized()
Undocumented in source. Be warned that the author may not have intended to support it.
pyParseArgs
auto pyParseArgs(PyObject* o, string formatString)
Undocumented in source. Be warned that the author may not have intended to support it.
py_def
ReturnType!func_t py_def(string pythonFunction, string pythonModule, ParameterTypeTuple!func_t args, string file, size_t line)

Wraps a python function (specified as a string) as a D function roughly of signature func_t

toString
string toString(PyObject* o)
Undocumented in source. Be warned that the author may not have intended to support it.
zc
char* zc(string s)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta