aboutsummaryrefslogtreecommitdiff
path: root/nerv.c
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-25 16:55:58 +0800
committerDeterminant <[email protected]>2015-05-25 16:55:58 +0800
commitbc1e2c57b1f234d153254845d62994bcd1a6e42f (patch)
treeb1f371eb3ebe97355d217288665a8fa15495cbfa /nerv.c
parent7dadb31a364c3dbe30c05c9a9040c48f1d4a9095 (diff)
rewrite the oop example
Diffstat (limited to 'nerv.c')
-rw-r--r--nerv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nerv.c b/nerv.c
index 0bc661e..5693d68 100644
--- a/nerv.c
+++ b/nerv.c
@@ -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;