summaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-30 15:27:01 +0800
committerDeterminant <[email protected]>2015-05-30 15:27:01 +0800
commit3b156cd0cd19aa7db97082161921064a0a871328 (patch)
treef58a2f25edbc5b3495756370fae6c33aab4f54c9 /init.c
parent54546414d1700ed34bf2fe896f36e86e59850b63 (diff)
add nerv interface for TNet IO
Diffstat (limited to 'init.c')
-rw-r--r--init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.c b/init.c
new file mode 100644
index 0000000..0cf476d
--- /dev/null
+++ b/init.c
@@ -0,0 +1,8 @@
+#include "../common.h"
+#include <stdio.h>
+
+extern void tnet_io_init(lua_State *L);
+int luaopen_libspeech(lua_State *L) {
+ tnet_io_init(L);
+ return 1;
+}