diff options
author | Zader Zheng <yumaoshu@gmail.com> | 2016-02-28 12:34:26 +0800 |
---|---|---|
committer | Zader Zheng <yumaoshu@gmail.com> | 2016-02-28 12:34:26 +0800 |
commit | a3a606ddc91077064e8799c4bf4efe862f38e314 (patch) | |
tree | 2628dbd0eccb28836a0e23f9e3c1da7146cfc7e3 /nerv/doc/nerv.md | |
parent | 550680eacd00555817df19d2b59a20a92df77c42 (diff) |
change to standard markdown title syntax to fit GitLab doc preview
Diffstat (limited to 'nerv/doc/nerv.md')
-rw-r--r-- | nerv/doc/nerv.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nerv/doc/nerv.md b/nerv/doc/nerv.md index 28411f5..125928d 100644 --- a/nerv/doc/nerv.md +++ b/nerv/doc/nerv.md @@ -1,6 +1,6 @@ -#The Nerv utility functions# +# The Nerv utility functions Part of the [Nerv](../README.md) toolkit. -##Methods## +## Methods * __string = nerv.typename(obj a)__ A registered function, the original function is `luaT_lua_typename`. In some cases if you call `type(a)` for object of some class in __Nerv__(like __Nerv.CuMatrix__) it will only return "userdata"(because it is created in C), in this case you can use this method to get its type. @@ -14,4 +14,4 @@ A registered function, the original function is `luaT_newmetatable`, it returns * __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 +Returns the type(`loadstring("return " .. typename)`). |