23 PyModuleDef_HEAD_INIT,
40 PyMODINIT_FUNC PyInit_triton(
void) {
45 PyObject* PyInit_triton(
void) {
54 std::cerr <<
"Failed to initialize the triton bindings" << std::endl;
void initArchNamespace(PyObject *archDict)
Initializes the ARCH python namespace.
void initSolverNamespace(PyObject *solverDict)
Initializes the SOLVER python namespace.
PyObject * xPyClass_New(PyObject *b, PyObject *d, PyObject *n)
Creates a PyClass and raises an exception if it fails. dict is copied in Py3 ! All references are dec...
void initSymbolicNamespace(PyObject *symbolicDict)
Initializes the SYMBOLIC python namespace.
void initSolverStateNamespace(PyObject *solverStateDict)
Initializes the SOLVER_STATE python namespace.
void initConditionsNamespace(PyObject *conditionsDict)
Initializes the CONDITION python namespace.
PyObject * xPyString_FromString(const char *v)
Creates a PyString and raises an exception if it fails.
void initOperandNamespace(PyObject *operandDict)
Initializes the OPERAND python namespace.
void initAstNodeNamespace(PyObject *astNodeDict)
Initializes the AST_NODE python namespace.
void initRegNamespace(PyObject *registersDict)
Initializes the REG python namespace.
void initCpuSizeNamespace(PyObject *cpuSizeDict)
Initializes the CPUSIZE python namespace.
void initAstRepresentationNamespace(PyObject *astRepresentationDict)
Initializes the AST_REPRESENTATION python namespace.
void initStubsNamespace(PyObject *stubsDict)
Initializes the STUBS python namespace.
PyMethodDef tritonCallbacks[]
triton python methods.
PyObject * tritonModule
triton python module.
PyMODINIT_FUNC inittriton(void)
Entry point python bindings (Py2/3).
void initModeNamespace(PyObject *modeDict)
Initializes the MODE python namespace.
void initOpcodesNamespace(PyObject *opcodesDict)
Initializes the OPCODE python namespace.
PyModuleDef tritonModuleDef
triton python module definition.
void initCallbackNamespace(PyObject *callbackDict)
Initializes the CALLBACK python namespace.
void initShiftsNamespace(PyObject *shiftsDict)
Initializes the SHIFT python namespace.
void initExceptionNamespace(PyObject *exceptionDict)
Initializes the EXCEPTION python namespace.
void initPrefixesNamespace(PyObject *prefixesDict)
Initializes the PREFIX python namespace.
PyObject * xPyDict_New(void)
Creates a PyDict and raises an exception if it fails.
void initVASNamespace(PyObject *vasDict)
Initializes the VAS python namespace.
void initVersionNamespace(PyObject *versionDict)
Initializes the VERSION python namespace.
void initExtendNamespace(PyObject *extendDict)
Initializes the EXTEND python namespace.