浏览代码

Fix type in documentation of NativeFunction

Ole 10 年之前
父节点
当前提交
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...)> {