diff options
author | Determinant <[email protected]> | 2015-05-25 16:55:58 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-05-25 16:55:58 +0800 |
commit | bc1e2c57b1f234d153254845d62994bcd1a6e42f (patch) | |
tree | b1f371eb3ebe97355d217288665a8fa15495cbfa /nerv.c | |
parent | 7dadb31a364c3dbe30c05c9a9040c48f1d4a9095 (diff) |
rewrite the oop example
Diffstat (limited to 'nerv.c')
-rw-r--r-- | nerv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ #include "common.h" -extern void nerv_point_init(lua_State *L); +extern void nerv_example_init(lua_State *L); extern void nerv_matrix_init(lua_State *L); extern void nerv_param_init(lua_State *L); @@ -30,7 +30,7 @@ int luaopen_libnerv(lua_State *L) { * Also note that they can make use of the value at top of the stack which * references to the `nerv` global table. */ nerv_utils_init(L); - nerv_point_init(L); + nerv_example_init(L); nerv_matrix_init(L); nerv_param_init(L); return 1; |