diff options
author | Ted Yin <[email protected]> | 2015-06-21 13:44:15 +0800 |
---|---|---|
committer | Ted Yin <[email protected]> | 2015-06-21 13:44:15 +0800 |
commit | 9ced612c86b5e24409e8f1d81bfbd1da893f2157 (patch) | |
tree | 474c536ff4a7d757bb61915a1bfc7a073f40d09f /doc/nerv.md | |
parent | f3f4e74eb4dbb8829e5ee136ba4b0c0a7938b551 (diff) | |
parent | ad2c4013dec71667d6bbd5e9a249df2085208507 (diff) |
Merge pull request #32 from cloudygoose/master
change doc
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 |