Просмотр исходного кода

Fix type in documentation of NativeFunction

Ole лет назад: 10
Родитель
Сommit
089516dfec
1 измененных файлов с 2 добавлено и 2 удалено
  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...)> {