From: Mike Pall Date: Wed, 7 Jan 2015 20:14:43 +0000 (+0100) Subject: LJ_GC64: Return true for ffi.abi("gc64"). X-Git-Tag: v2.1.0-beta1~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=962d2aaa9f0bfe3d2b374b23e6916e992975e2e7;p=thirdparty%2FLuaJIT.git LJ_GC64: Return true for ffi.abi("gc64"). --- diff --git a/doc/ext_ffi_api.html b/doc/ext_ffi_api.html index 4289c190..8cf48dc3 100644 --- a/doc/ext_ffi_api.html +++ b/doc/ext_ffi_api.html @@ -468,6 +468,8 @@ otherwise. The following parameters are currently defined: eabiEABI variant of the standard ABI winWindows variant of the standard ABI + +gc6464 bit GC references

ffi.os

diff --git a/src/lib_ffi.c b/src/lib_ffi.c index 6e601539..b2b2d37f 100644 --- a/src/lib_ffi.c +++ b/src/lib_ffi.c @@ -751,6 +751,9 @@ LJLIB_CF(ffi_abi) LJLIB_REC(.) case H_(4ab624a8,4ab624a8): b = 1; break; /* win */ #endif case H_(3af93066,1f001464): b = 1; break; /* le/be */ +#if LJ_GC64 + case H_(9e89d2c9,13c83c92): b = 1; break; /* gc64 */ +#endif default: break; }