#include <python_internal.h>
|
| void(* | Py_DecRef )(PyObject *) |
| |
| void(* | Py_Finalize )(void) |
| |
| void(* | Py_InitializeEx )(int) |
| |
| PyObject *(* | PyByteArray_FromStringAndSize )(const char *, Py_ssize_t) |
| |
| void(* | PyEval_InitThreads )(void) |
| |
| PyGILState_STATE(* | PyGILState_Ensure )(void) |
| |
| void(* | PyGILState_Release )(PyGILState_STATE) |
| |
| void(* | PyEval_RestoreThread )(PyThreadState *) |
| |
| PyThreadState *(* | PyEval_SaveThread )(void) |
| |
| PyThreadState *(* | PyGILState_GetThisThreadState )(void) |
| |
| PyThreadState *(* | PyThreadState_Swap )(PyThreadState *) |
| |
| PyThreadState *(* | PyThreadState_Get )(void) |
| |
| PyObject *(* | PyThreadState_GetDict )(void) |
| |
| void(* | PyErr_PrintEx )(int set_sys_last_vars) |
| |
| PyObject *(* | PyImport_ImportModule )(const char *) |
| |
| PyObject *(* | PyModule_GetDict )(PyObject *) |
| |
| PyObject *(* | PyLong_FromUnsignedLong )(unsigned long) |
| |
| PyObject *(* | PyObject_CallFunction )(PyObject *, const char *,...) |
| |
| PyObject *(* | PyObject_CallObject )(PyObject *callable, PyObject *args) |
| |
| PyObject *(* | PyObject_GetAttrString )(PyObject *, const char *) |
| |
| PyObject *(* | Py_CompileString )(const char *, const char *, int) |
| |
| PyObject *(* | PyEval_EvalCode )(PyObject *, PyObject *, PyObject *) |
| |
| PyObject *(* | PyTuple_New )(Py_ssize_t len) |
| |
| int(* | PyTuple_SetItem )(PyObject *p, Py_ssize_t pos, PyObject *o) |
| |
|
| template<typename T > |
| void | get_symbol (T &fn, const char *symbol, bool missing_ok=false) |
| |
◆ PythonAPI()
| Realm::PythonAPI::PythonAPI |
( |
void * |
handle | ) |
|
◆ get_symbol()
template<typename T >
| void Realm::PythonAPI::get_symbol |
( |
T & |
fn, |
|
|
const char * |
symbol, |
|
|
bool |
missing_ok = false |
|
) |
| |
|
protected |
◆ handle
| void* Realm::PythonAPI::handle |
|
protected |
◆ Py_CompileString
| PyObject *(* Realm::PythonAPI::Py_CompileString) (const char *, const char *, int) |
◆ Py_DecRef
| void(* Realm::PythonAPI::Py_DecRef) (PyObject *) |
◆ Py_Finalize
| void(* Realm::PythonAPI::Py_Finalize) (void) |
◆ Py_InitializeEx
| void(* Realm::PythonAPI::Py_InitializeEx) (int) |
◆ PyByteArray_FromStringAndSize
| PyObject *(* Realm::PythonAPI::PyByteArray_FromStringAndSize) (const char *, Py_ssize_t) |
◆ PyErr_PrintEx
| void(* Realm::PythonAPI::PyErr_PrintEx) (int set_sys_last_vars) |
◆ PyEval_EvalCode
| PyObject *(* Realm::PythonAPI::PyEval_EvalCode) (PyObject *, PyObject *, PyObject *) |
◆ PyEval_InitThreads
| void(* Realm::PythonAPI::PyEval_InitThreads) (void) |
◆ PyEval_RestoreThread
◆ PyEval_SaveThread
◆ PyGILState_Ensure
◆ PyGILState_GetThisThreadState
| PyThreadState *(* Realm::PythonAPI::PyGILState_GetThisThreadState) (void) |
◆ PyGILState_Release
◆ PyImport_ImportModule
| PyObject *(* Realm::PythonAPI::PyImport_ImportModule) (const char *) |
◆ PyLong_FromUnsignedLong
| PyObject *(* Realm::PythonAPI::PyLong_FromUnsignedLong) (unsigned long) |
◆ PyModule_GetDict
| PyObject *(* Realm::PythonAPI::PyModule_GetDict) (PyObject *) |
◆ PyObject_CallFunction
| PyObject *(* Realm::PythonAPI::PyObject_CallFunction) (PyObject *, const char *,...) |
◆ PyObject_CallObject
| PyObject *(* Realm::PythonAPI::PyObject_CallObject) (PyObject *callable, PyObject *args) |
◆ PyObject_GetAttrString
| PyObject *(* Realm::PythonAPI::PyObject_GetAttrString) (PyObject *, const char *) |
◆ PyThreadState_Get
◆ PyThreadState_GetDict
| PyObject *(* Realm::PythonAPI::PyThreadState_GetDict) (void) |
◆ PyThreadState_Swap
◆ PyTuple_New
| PyObject *(* Realm::PythonAPI::PyTuple_New) (Py_ssize_t len) |
◆ PyTuple_SetItem
| int(* Realm::PythonAPI::PyTuple_SetItem) (PyObject *p, Py_ssize_t pos, PyObject *o) |
The documentation for this class was generated from the following file: