]> granicus.if.org Git - pdns/commitdiff
spelling: registry
authorJosh Soref <jsoref@users.noreply.github.com>
Thu, 2 Feb 2017 10:29:57 +0000 (10:29 +0000)
committerJosh Soref <jsoref@users.noreply.github.com>
Thu, 2 Feb 2017 10:29:57 +0000 (10:29 +0000)
ext/luawrapper/include/LuaContext.hpp

index 76402deb09532d33721f4102cccffd30e4845a62..c7090f676f17ad61b962985ebd56eebde3b58ead 100644 (file)
@@ -741,7 +741,7 @@ private:
     // equivalent of lua_settable with t[k]=n, where t is the value at the index in the template parameter, k is the second parameter, n is the last parameter, and n is pushed by the function in the first parameter
     // if there are more than 3 parameters, parameters 3 to n-1 are considered as sub-indices into the array
     // the dataPusher MUST push only one thing on the stack
-    // TTableIndex must be either LUA_REGISTERYINDEX, LUA_GLOBALSINDEX, LUA_ENVINDEX, or the position of the element on the stack
+    // TTableIndex must be either LUA_REGISTRYINDEX, LUA_GLOBALSINDEX, LUA_ENVINDEX, or the position of the element on the stack
     template<typename TDataType, typename TIndex, typename TData>
     static void setTable(lua_State* state, const PushedObject&, TIndex&& index, TData&& data) noexcept
     {