summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/nerv.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/nerv.md b/doc/nerv.md
new file mode 100644
index 0000000..85a86ca
--- /dev/null
+++ b/doc/nerv.md
@@ -0,0 +1,5 @@
+#The Nerv utility functions#
+Part of the [Nerv](../README.md) toolkit.
+##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.