1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-13 10:45:21 +01:00

Backport PUC Lua 5.4's string.{pack,unpack,packsize}

This commit is contained in:
Lars Müller
2025-12-08 23:19:24 +01:00
committed by GitHub
parent 98c6f786f8
commit 6daf3871e7
9 changed files with 568 additions and 0 deletions

7
lib/lstrpack/lstrpack.h Normal file
View File

@@ -0,0 +1,7 @@
#pragma once
#include "lua.h"
#include "lauxlib.h"
/// Populates string.{pack,unpack,packsize}
void setup_lstrpack(lua_State *L);