fixed formatting

This commit is contained in:
Amir Masoud Abdol 2020-03-12 14:02:04 +01:00 committed by The Phantom Derpstorm
parent 82812c56d9
commit cba93593d7

View File

@ -104,7 +104,7 @@ This structure is used with ``new_usertype`` to specifically ordain certain spec
new_usertype/set
----------------
``sol::usertype<T>`` is a specialized version of ``sol::metatable``s, which are a specialized version of ``sol::table``. ``sol::metatable``s attempt to treat the table like either a Lua or a sol2 metatable. ``sol::usertype<T>`` demands that a usertype is a specific metatable for a specific class. Both of them are `sol::reference derived types<reference>`, meaning they take in the ``lua_State*``. For example...
``sol::usertype<T>`` is a specialized version of ``sol::metatable``\s, which are a specialized version of ``sol::table``. ``sol::metatable``\s attempt to treat the table like either a Lua or a sol2 metatable. ``sol::usertype<T>`` demands that a usertype is a specific metatable for a specific class. Both of them are `sol::reference derived types<reference>`, meaning they take in the ``lua_State*``. For example...
new_usertype/set options