Skip to content

Commit bcfae06

Browse files
committed
Fix: Exporting lua_replace instead of lua_rotate
1 parent cf0be82 commit bcfae06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/binding-factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const luaBindings: Record<string, luaBindingFactoryFunc> = {
123123
(this as Lua).lua_copy(L, -1, index);
124124
(this as Lua).lua_pop(L, 1);
125125
},
126-
lua_rotate: luaGlue.cwrap("lua_replace", null, ["number", "number", "number"]),
126+
lua_rotate: luaGlue.cwrap("lua_rotate", null, ["number", "number", "number"]),
127127
};
128128
}
129129
}

0 commit comments

Comments
 (0)