Skip to content

Commit

Permalink
Update html documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mousebyte committed Jul 21, 2023
1 parent 261b024 commit 3ed981c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Functions supporting the creation and registration of Lua classes.
:project: LuaClassLib
:members:

.. doxygenfunction:: luaC_register
.. doxygenfunction:: luaC_classfromptr
:project: LuaClassLib

.. doxygenfunction:: luaC_unregister
Expand Down
1 change: 0 additions & 1 deletion docs/usage/cclass.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ int main() {
luaC_newclass(
L,
"MyClass", // class name
NULL, // module name
NULL, // parent name
myclass_methods); // methods

Expand Down
2 changes: 1 addition & 1 deletion docs/usage/udataclass.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Put the methods in a `luaL_Reg <http://www.lua.org/manual/5.4/manual.html#luaL_R

.. literalinclude:: ../../tests/classes/file.c
:language: LCL
:lines: 63-77
:lines: 63-76

To register the class, push the `luaC_Class` as a light userdata and call `luaC_register`.

Expand Down

0 comments on commit 3ed981c

Please sign in to comment.