diff options
author | Determinant <[email protected]> | 2015-05-14 15:01:55 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-05-14 15:01:55 +0800 |
commit | f48dc493b5b77fd4e4472dd6c78b7542a4884129 (patch) | |
tree | 0b7a0f95df28fc100fc1fd252ce1d0215d19150d /nerv.c | |
parent | 46ccec6d5ad057476e945afa34981f7e8d732547 (diff) |
add basic matrix implementation
Diffstat (limited to 'nerv.c')
-rw-r--r-- | nerv.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,12 +2,14 @@ #include "lauxlib.h" #include "lualib.h" -extern int nerv_point_init(lua_State *L); +extern void nerv_point_init(lua_State *L); +extern void nerv_matrix_init(lua_State *L); LUALIB_API int luaopen_libnerv(lua_State *L) { lua_newtable(L); lua_pushvalue(L, -1); lua_setfield(L, LUA_GLOBALSINDEX, "nerv"); nerv_point_init(L); + nerv_matrix_init(L); return 1; } |