summaryrefslogtreecommitdiff
path: root/doc/nerv.md
diff options
context:
space:
mode:
authorcloudygoose <[email protected]>2015-06-12 12:27:36 +0800
committercloudygoose <[email protected]>2015-06-12 12:27:36 +0800
commit83dbefa3435b72911ee643f9f99205247d140279 (patch)
tree819edfc2f32080eb398bbb736a61e27db093b317 /doc/nerv.md
parentc3db7ffba45b7e4d0a1d76281e187b3f88129db9 (diff)
doc change
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