diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-02 17:44:35 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-02 17:58:03 +0100 |
commit | 7c6eadd84a26b6a2717e9747de5f2c7c4d48eb85 (patch) | |
tree | dd645d26bb6892cfe9a0ae0b09c6ea2d0e2412ae /libs/lua | |
parent | be4bdb53656b3efa7ff6f40cd3eb93f960ee48b0 (diff) |
Fix some doxygen warnings
Diffstat (limited to 'libs/lua')
-rw-r--r-- | libs/lua/LuaBridge/detail/LuaRef.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/lua/LuaBridge/detail/LuaRef.h b/libs/lua/LuaBridge/detail/LuaRef.h index e85f670b21..60010f87da 100644 --- a/libs/lua/LuaBridge/detail/LuaRef.h +++ b/libs/lua/LuaBridge/detail/LuaRef.h @@ -62,6 +62,7 @@ private: when returning objects, to avoid an explicit temporary variable, since the destructor executes after the return statement. For example: + \code template <class U> U cast (lua_State* L) { @@ -69,6 +70,7 @@ private: ... return U (); // dtor called after this line } + \endcode @note The `StackPop` object must always be a named local variable. */ @@ -77,6 +79,7 @@ private: public: /** Create a StackPop object. + @param L the LuaState to modify @param count The number of stack entries to pop on destruction. */ StackPop (lua_State* L, int count) @@ -277,6 +280,7 @@ private: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/e30b2664-a92d-445c-9db2-e8e0fbde2014 https://connect.microsoft.com/VisualStudio/feedback/details/771509/correct-code-doesnt-compile + \code // This code snippet fails to compile in vs2010,vs2012 struct S { template <class T> inline operator T () const { return T (); } @@ -285,6 +289,7 @@ private: S () || false; return 0; } + \endcode */ template <class T> inline operator T () const @@ -886,6 +891,7 @@ public: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/e30b2664-a92d-445c-9db2-e8e0fbde2014 https://connect.microsoft.com/VisualStudio/feedback/details/771509/correct-code-doesnt-compile + \code // This code snippet fails to compile in vs2010,vs2012 struct S { template <class T> inline operator T () const { return T (); } @@ -894,6 +900,7 @@ public: S () || false; return 0; } + \endcode */ template <class T> inline operator T () const |