From 042055968ab0c48faec607889814e38c50c09efa Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 4 Jul 2025 13:50:53 +0200 Subject: Changed lua wrapper prefixes from luaG_ to luaW_ (w as in wrapper!) --- src/allocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/allocator.cpp') diff --git a/src/allocator.cpp b/src/allocator.cpp index 84acde5..243583b 100644 --- a/src/allocator.cpp +++ b/src/allocator.cpp @@ -35,7 +35,7 @@ namespace lanes { AllocatorDefinition& AllocatorDefinition::Validated(lua_State* const L_, StackIndex const idx_) { - lanes::AllocatorDefinition* const _def{ luaG_tofulluserdata(L_, idx_) }; + lanes::AllocatorDefinition* const _def{ luaW_tofulluserdata(L_, idx_) }; // raise an error and don't return if the full userdata at the specified index is not a valid AllocatorDefinition if (!_def) { raise_luaL_error(L_, "Bad config.allocator function, provided value is not a userdata"); -- cgit v1.2.3-55-g6feb