about summary refs log tree commit diff stats
path: root/src/include/library.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-10-19 22:59:07 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-10-19 22:59:19 +0200
commitd6b9df6ca260dbada8dac68ee6857d89005a810e (patch)
treed36ec4d582307cf46056a58e2ce0696226d176af /src/include/library.h
parent4fbeca0aa3f55f3569bb3212ca130d18d20c3dc3 (diff)
downloadbox64-d6b9df6ca260dbada8dac68ee6857d89005a810e.tar.gz
box64-d6b9df6ca260dbada8dac68ee6857d89005a810e.zip
Small refactor and simplification of library_t structure and box64context_t
Diffstat (limited to 'src/include/library.h')
-rwxr-xr-xsrc/include/library.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/library.h b/src/include/library.h
index 006e61f4..1bd9be3a 100755
--- a/src/include/library.h
+++ b/src/include/library.h
@@ -10,6 +10,10 @@ typedef struct box64context_s  box64context_t;
 typedef struct x64emu_s        x64emu_t;
 typedef struct needed_libs_s   needed_libs_t;
 
+#define LIB_NATIVE      0
+#define LIB_EMULATED    1
+#define LIB_UNNKNOW     -1
+
 library_t *NewLibrary(const char* path, box64context_t* box64);
 int AddSymbolsLibrary(lib_t* maplib, library_t* lib, x64emu_t* emu);
 int FinalizeLibrary(library_t* lib, lib_t* local_maplib, int bindnow, x64emu_t* emu);