libTriton version 1.0 build 1588
Loading...
Searching...
No Matches
Namespaces | Functions
pythonXFunctions.hpp File Reference
#include <triton/pythonBindings.hpp>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  triton
 The Triton namespace.
 
namespace  triton::bindings
 The Bindings namespace.
 
namespace  triton::bindings::python
 The Python namespace.
 

Functions

PyObject * triton::bindings::python::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 decremented. More...
 
PyObject * triton::bindings::python::xPyDict_New (void)
 Creates a PyDict and raises an exception if it fails. More...
 
PyObject * triton::bindings::python::xPyList_New (Py_ssize_t len)
 Creates a PyList and raises an exception if it fails. More...
 
PyObject * triton::bindings::python::xPyString_FromString (const char *v)
 Creates a PyString and raises an exception if it fails. More...
 
PyObject * triton::bindings::python::xPyTuple_New (Py_ssize_t len)
 Creates a PyTuple and raises an exception if it fails. More...
 
int triton::bindings::python::xPyDict_SetItemString (PyObject *p, const char *key, PyObject *val)
 Same as PyDict_SetItemString but decrements reference on object. More...
 
int triton::bindings::python::xPyDict_SetItem (PyObject *p, PyObject *key, PyObject *val)
 Same as PyDict_SetItem but decrements reference on object and key. More...