From 33e6b9627e6a46d388d46f2c5b4d15ba7e9f9904 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 18 Oct 2017 21:34:55 -0400 Subject: Started refactoring * Finished a basic server * Changed from ZMQ to nanomsg (basically the same though) * Moved some repeated code from the client/server directories into "shared" * Edited makefile to reflect new dependencies --- src/shared/lua_api/common.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/shared/lua_api/common.h (limited to 'src/shared/lua_api/common.h') diff --git a/src/shared/lua_api/common.h b/src/shared/lua_api/common.h new file mode 100644 index 0000000..81dc3a4 --- /dev/null +++ b/src/shared/lua_api/common.h @@ -0,0 +1,13 @@ + +extern "C" { + #include + #include + #include +} + +void loadLLibs(lua_State*); + +int pushvector3i(lua_State*,long,long,long); +int pushvector3d(lua_State*,double,double,double); +int popvector3i(lua_State*,long*,long*,long*); +int popvector3d(lua_State*,double*,double*,double*); -- cgit v1.2.3-70-g09d2