Explorar o código

Fix type in documentation of NativeFunction

Ole %!s(int64=10) %!d(string=hai) anos
pai
achega
089516dfec
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/luwra/functions.hpp

+ 2 - 2
lib/luwra/functions.hpp

@@ -45,7 +45,7 @@ struct NativeFunction {
 
 /**
  * A callable native Lua function.
- * \note This value is only as long as it exists on the stack.
+ * \note This value is only available as long as it exists on the stack.
  */
 template <typename R, typename... A>
 struct NativeFunction<R(A...)> {
@@ -67,7 +67,7 @@ struct NativeFunction<R(A...)> {
 
 /**
  * A callable native Lua function.
- * \note This value is only as long as it exists on the stack.
+ * \note This value is only available as long as it exists on the stack.
  */
 template <typename... A>
 struct NativeFunction<void(A...)> {