diff options
author | cloudygoose <[email protected]> | 2015-06-12 12:27:36 +0800 |
---|---|---|
committer | cloudygoose <[email protected]> | 2015-06-12 12:27:36 +0800 |
commit | 83dbefa3435b72911ee643f9f99205247d140279 (patch) | |
tree | 819edfc2f32080eb398bbb736a61e27db093b317 /doc/nerv.md | |
parent | c3db7ffba45b7e4d0a1d76281e187b3f88129db9 (diff) |
doc change
Diffstat (limited to 'doc/nerv.md')
-rw-r--r-- | doc/nerv.md | 2 |
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 |