diff options
| author | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-14 09:09:29 +0000 |
|---|---|---|
| committer | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-10-14 09:09:29 +0000 |
| commit | 579cf1d03fb932083e6317967d1613d5c2587fb6 (patch) | |
| tree | 629f039935382a2a7391bce9253f6c9968159049 /src/miasm/jitter/vm_mngr_py.h | |
| parent | 51c15d3ea2e16d4fc5f0f01a3b9befc66b1f982e (diff) | |
| download | focaccia-miasm-579cf1d03fb932083e6317967d1613d5c2587fb6.tar.gz focaccia-miasm-579cf1d03fb932083e6317967d1613d5c2587fb6.zip | |
Convert to src-layout ta/nix
Diffstat (limited to 'src/miasm/jitter/vm_mngr_py.h')
| -rw-r--r-- | src/miasm/jitter/vm_mngr_py.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/miasm/jitter/vm_mngr_py.h b/src/miasm/jitter/vm_mngr_py.h new file mode 100644 index 00000000..a8f7dcd0 --- /dev/null +++ b/src/miasm/jitter/vm_mngr_py.h @@ -0,0 +1,17 @@ +#ifndef VM_MNGR_PY_H +#define VM_MNGR_PY_H + +#ifdef _WIN32 +#define SIGALRM 0 +#endif + +typedef struct { + PyObject_HEAD + PyObject *vmmngr; + vm_mngr_t vm_mngr; +} VmMngr; + +#endif// VM_MNGR_PY_H + +bn_t PyLong_to_bn(PyObject* py_long); +PyObject* bn_to_PyLong(bn_t bn); |