aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-30 16:10:31 +0800
committerDeterminant <[email protected]>2015-05-30 16:10:31 +0800
commitf10330fd95aa87cf6b21d292cf54c77bacfd2e40 (patch)
treee3f47ec47aa24244e9cfb7f7569f0e68145616db /doc
parent1c4a84ff6fabaa78e4c1ed2263d57bd2c79c48a5 (diff)
parent380ffd97f3956c31cd6799b2e3a10d759448c328 (diff)
Merge branch 'master' of github.com:Determinant/nerv
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.