summaryrefslogtreecommitdiff
path: root/doc/nerv.md
diff options
context:
space:
mode:
authorcloudygoose <[email protected]>2015-05-29 17:16:24 +0800
committercloudygoose <[email protected]>2015-05-29 17:16:24 +0800
commite991ad1e5153d23a8ae38110e3093b88e058140a (patch)
treec156248f222c4c0d747787fdc4677cf42ba96ddc /doc/nerv.md
parent240cc240f0c5d7f0691febfb0aedc61d00291dad (diff)
modified documentation for nerv utility
Diffstat (limited to 'doc/nerv.md')
-rw-r--r--doc/nerv.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/nerv.md b/doc/nerv.md
index 3f544b1..b6631a6 100644
--- a/doc/nerv.md
+++ b/doc/nerv.md
@@ -1,3 +1,5 @@
-#The Nerv Package#
+#The Nerv utility functions#
Part of the [Nerv](../README.md) toolkit.
-##Methods## \ No newline at end of file
+##Methods##
+* __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.