aboutsummaryrefslogtreecommitdiff
path: root/doc/nerv.md
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2015-06-22 19:01:29 +0800
committerDeterminant <ted.sybil@gmail.com>2015-06-22 19:01:29 +0800
commit2497fd9e7a0fae5ee4887890d7a312e0e08a93b8 (patch)
tree382f97575bd2df9ee6abb1662b11b279fc22d72b /doc/nerv.md
parent196e9b48a3541caccdffc5743001cced70667091 (diff)
major change: use luarocks to manage project
Diffstat (limited to 'doc/nerv.md')
-rw-r--r--doc/nerv.md17
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/nerv.md b/doc/nerv.md
deleted file mode 100644
index 28411f5..0000000
--- a/doc/nerv.md
+++ /dev/null
@@ -1,17 +0,0 @@
-#The Nerv utility functions#
-Part of the [Nerv](../README.md) toolkit.
-##Methods##
-* __string = nerv.typename(obj a)__
-A registered function, the original function is `luaT_lua_typename`. In some cases if you call `type(a)` for object of some class in __Nerv__(like __Nerv.CuMatrix__) it will only return "userdata"(because it is created in C), in this case you can use this method to get its type.
-
----
-
-* __metatable = nerv.getmetatable(string tname)__
-A registered function, the original function is `luaT_lua_getmetatable`. `tname` should be a class name that has been registered in __luaT__.
-
-* __metatable = nerv.newmetatable(string tname, string parenttname, function constructor, function destructor, function factory)__
-A registered function, the original function is `luaT_newmetatable`, it returns the metatable of the created class by the name `tname`.
-* __string = nerv.setmetatable(table self, string tname)__
-A registered function, the original function is `luaT_lua_setmetatable`. It assigns the metatable registered in __luaT__ by the name *tname* to the table *self*. And return *tname* to user.
-* __table = nerv.get_type(string typename)__
-Returns the type(`loadstring("return " .. typename)`). \ No newline at end of file