about summary refs log tree commit diff stats
path: root/src/miasm/jitter/vm_mngr_py.h
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-10-14 09:09:29 +0000
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-10-14 09:09:29 +0000
commit579cf1d03fb932083e6317967d1613d5c2587fb6 (patch)
tree629f039935382a2a7391bce9253f6c9968159049 /src/miasm/jitter/vm_mngr_py.h
parent51c15d3ea2e16d4fc5f0f01a3b9befc66b1f982e (diff)
downloadfocaccia-miasm-ta/nix.tar.gz
focaccia-miasm-ta/nix.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.h17
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);