summaryrefslogtreecommitdiff
path: root/doc/nerv.md
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-21 23:01:20 +0800
committerDeterminant <[email protected]>2015-06-21 23:01:20 +0800
commit196e9b48a3541caccdffc5743001cced70667091 (patch)
treea639873e282727c01746319169a08766c086965b /doc/nerv.md
parentf3f14b85d3b9c1ccebb1faea37b7b57012fba347 (diff)
parent9a8ef8091806c004bc53c529d0b9f514eb6ac3da (diff)
Merge branch 'master' of github.com:Determinant/nerv
Diffstat (limited to 'doc/nerv.md')
-rw-r--r--doc/nerv.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/nerv.md b/doc/nerv.md
index 22b4072..28411f5 100644
--- a/doc/nerv.md
+++ b/doc/nerv.md
@@ -13,3 +13,5 @@ A registered function, the original function is `luaT_lua_getmetatable`. `tname`
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