aboutsummaryrefslogtreecommitdiff
path: root/src/utils/dl.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-23 23:58:30 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-23 23:58:30 +0330
commit3c9aea642e3b2f4083705f1cd42fa911d35ee696 (patch)
treed990b2ffdb63161a9aef7cce20e5714461f86085 /src/utils/dl.h
parent093c3bece426686b175db9ddaecd6abc8908fd87 (diff)
add way to call C functions
Diffstat (limited to 'src/utils/dl.h')
-rw-r--r--src/utils/dl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/dl.h b/src/utils/dl.h
new file mode 100644
index 0000000..74cb865
--- /dev/null
+++ b/src/utils/dl.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stddef.h>
+
+void dynamicLibraryInit();
+void dynamicLibraryDestroy();
+
+void* dynamicLibraryOpen(char *file);