aboutsummaryrefslogtreecommitdiff
path: root/src/lib_ffi.c
diff options
context:
space:
mode:
authorMike Pall <mike>2026-02-27 00:33:30 +0100
committerMike Pall <mike>2026-02-27 00:33:30 +0100
commita553b3de243b1ae07bdb21da4bdab77148793f76 (patch)
tree2d2a25b1ef6788f6ba7e0cd58586ac7e3ca5684f /src/lib_ffi.c
parentfc3d17eb4048212ecc5a2fe0a4a15096130f4e40 (diff)
downloadluajit-a553b3de243b1ae07bdb21da4bdab77148793f76.tar.gz
luajit-a553b3de243b1ae07bdb21da4bdab77148793f76.tar.bz2
luajit-a553b3de243b1ae07bdb21da4bdab77148793f76.zip
Add ffi.abi("dualnum").
Thanks to Sergey Kaplun. #1442
Diffstat (limited to 'src/lib_ffi.c')
-rw-r--r--src/lib_ffi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib_ffi.c b/src/lib_ffi.c
index f46b22e5..7b83ef25 100644
--- a/src/lib_ffi.c
+++ b/src/lib_ffi.c
@@ -759,6 +759,9 @@ LJLIB_CF(ffi_abi) LJLIB_REC(.)
759#if LJ_GC64 759#if LJ_GC64
760 "\004gc64" 760 "\004gc64"
761#endif 761#endif
762#if LJ_DUALNUM
763 "\007dualnum"
764#endif
762 ) >= 0; 765 ) >= 0;
763 setboolV(L->top-1, b); 766 setboolV(L->top-1, b);
764 setboolV(&G(L)->tmptv2, b); /* Remember for trace recorder. */ 767 setboolV(&G(L)->tmptv2, b); /* Remember for trace recorder. */