aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTed Yin <[email protected]>2015-05-29 23:29:52 +0800
committerTed Yin <[email protected]>2015-05-29 23:29:52 +0800
commit380ffd97f3956c31cd6799b2e3a10d759448c328 (patch)
tree6c6985bed00ccb70d7d0c28906d41da142bd4b49 /doc
parent3f9b141fde2e982a64ae20fe4735ac822f562134 (diff)
parentb88d2ab16af682194d2f94f5ef17d658ec101234 (diff)
Merge pull request #8 from cloudygoose/master
init user manual
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.