diff options
| -rw-r--r-- | doc/ext_ffi_api.html | 2 | ||||
| -rw-r--r-- | src/lib_ffi.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/ext_ffi_api.html b/doc/ext_ffi_api.html index 989a7712..7e89d336 100644 --- a/doc/ext_ffi_api.html +++ b/doc/ext_ffi_api.html | |||
| @@ -468,6 +468,8 @@ otherwise. The following parameters are currently defined: | |||
| 468 | <td class="abiparam">uwp</td><td class="abidesc">Universal Windows Platform</td></tr> | 468 | <td class="abiparam">uwp</td><td class="abidesc">Universal Windows Platform</td></tr> |
| 469 | <tr class="even"> | 469 | <tr class="even"> |
| 470 | <td class="abiparam">gc64</td><td class="abidesc">64 bit GC references</td></tr> | 470 | <td class="abiparam">gc64</td><td class="abidesc">64 bit GC references</td></tr> |
| 471 | <tr class="odd"> | ||
| 472 | <td class="abiparam">dualnum</td><td class="abidesc">Dual-number mode</td></tr> | ||
| 471 | </table> | 473 | </table> |
| 472 | 474 | ||
| 473 | <h3 id="ffi_os"><tt>ffi.os</tt></h3> | 475 | <h3 id="ffi_os"><tt>ffi.os</tt></h3> |
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. */ |
