summaryrefslogtreecommitdiffstats
path: root/common/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/arch.h')
-rw-r--r--common/arch.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/common/arch.h b/common/arch.h
index 5c67cb66..7070d6ae 100644
--- a/common/arch.h
+++ b/common/arch.h
@@ -113,7 +113,6 @@ typedef __int64 tbus;
#else
typedef long tbus;
#endif
-typedef tbus thandle;
typedef tbus tintptr;
/* wide char, socket */
#if defined(_WIN32)
@@ -137,4 +136,14 @@ typedef signed long long tsi64;
#define printflike(arg_format, arg_first_check)
#endif
+/* module interface */
+#ifdef __cplusplus
+extern "C" {
+#endif
+ tintptr mod_init();
+ int mod_exit(tintptr);
+#ifdef __cplusplus
+}
+#endif
+
#endif