1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 10:29:03 +00:00

Update Lua to 5.4.4

This commit is contained in:
dmiller
2023-05-01 17:44:45 +00:00
parent 94bbdba677
commit 7d57e7d6b1
71 changed files with 13784 additions and 9589 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lundump.h,v 1.45.1.1 2017/04/19 17:20:42 roberto Exp $
** $Id: lundump.h $
** load precompiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -18,8 +18,12 @@
#define LUAC_INT 0x5678
#define LUAC_NUM cast_num(370.5)
#define MYINT(s) (s[0]-'0')
/*
** Encode major-minor version in one byte, one nibble for each
*/
#define MYINT(s) (s[0]-'0') /* assume one-digit numerals */
#define LUAC_VERSION (MYINT(LUA_VERSION_MAJOR)*16+MYINT(LUA_VERSION_MINOR))
#define LUAC_FORMAT 0 /* this is the official format */
/* load one chunk; from lundump.c */