]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
LJ_GC64: Return true for ffi.abi("gc64").
authorMike Pall <mike>
Wed, 7 Jan 2015 20:14:43 +0000 (21:14 +0100)
committerMike Pall <mike>
Wed, 7 Jan 2015 20:14:43 +0000 (21:14 +0100)
doc/ext_ffi_api.html
src/lib_ffi.c

index 4289c19001341ed017e08e5c3bea93de7b740552..8cf48dc3b2eafe856e1a8ad4f3242c2f7ce214fe 100644 (file)
@@ -468,6 +468,8 @@ otherwise. The following parameters are currently defined:
 <td class="abiparam">eabi</td><td class="abidesc">EABI variant of the standard ABI</td></tr>
 <tr class="odd">
 <td class="abiparam">win</td><td class="abidesc">Windows variant of the standard ABI</td></tr>
+<tr class="even">
+<td class="abiparam">gc64</td><td class="abidesc">64 bit GC references</td></tr>
 </table>
 
 <h3 id="ffi_os"><tt>ffi.os</tt></h3>
index 6e6015397e9ccfc328eee4948dd3ebbcefb8c6a7..b2b2d37ff7bf1e98bba0d82f4a50b3d21289fedc 100644 (file)
@@ -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;
   }