#include <Python.h>
#include <inttypes.h>
#include <stdint.h>
Go to the source code of this file.
PyMODINIT_FUNC initJitllvm |
( |
void |
| ) |
|
Definition at line 28 of file Jitllvm.c.
static PyMethodDef LLVMMethods[]
PyObject* llvm_exec_bloc |
( |
PyObject * |
self, |
|
|
PyObject * |
args |
|
) |
| |
Definition at line 7 of file Jitllvm.c.
9 uint64_t (*func)(
void*,
void*);
14 if (!PyArg_ParseTuple(args,
"KKK", &func, &cpu, &vm))
16 ret = func((
void*)cpu, (
void*)vm);
17 return PyLong_FromUnsignedLongLong( (uint64_t)ret);
PyMethodDef LLVMMethods[] |
|
static |
Initial value:= {
"llvm exec bloc"},
{NULL, NULL, 0, NULL}
}
PyObject * llvm_exec_bloc(PyObject *self, PyObject *args)
Definition at line 21 of file Jitllvm.c.