From a3a606ddc91077064e8799c4bf4efe862f38e314 Mon Sep 17 00:00:00 2001 From: Zader Zheng Date: Sun, 28 Feb 2016 12:34:26 +0800 Subject: change to standard markdown title syntax to fit GitLab doc preview --- nerv/doc/nerv.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nerv/doc/nerv.md') 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)`). -- cgit v1.2.3