summaryrefslogtreecommitdiffhomepage
path: root/lib/cxx-abi.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cxx-abi.hpp')
-rw-r--r--lib/cxx-abi.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/cxx-abi.hpp b/lib/cxx-abi.hpp
new file mode 100644
index 0000000..61225fc
--- /dev/null
+++ b/lib/cxx-abi.hpp
@@ -0,0 +1,21 @@
+/* -------------------------------------------
+
+ Copyright (C) 2024, Amlal EL Mahrouss, all rights reserved.
+
+------------------------------------------- */
+
+#pragma once
+
+#define DSO_MAX_OBJECTS (128)
+
+struct atexit_func_entry_t {
+ void (*destructor_func)(void*);
+ void* obj_ptr;
+ void* dso_handle;
+};
+
+typedef unsigned uarch_t;
+
+namespace cxxabiv1 {
+typedef void* __guard;
+}