mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +00:00
Update changelog to say FFI initially only available on non-windows
platforms.
This commit is contained in:
parent
6ea27fe836
commit
965f45aa3f
@ -2,7 +2,8 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## Unreleased - ???
|
## Unreleased - ???
|
||||||
- Add experimental `ffi/` module for interfacing with dynamic libraries and raw function pointers.
|
- Add experimental `ffi/` module for interfacing with dynamic libraries and raw function pointers. Only available
|
||||||
|
on 64 bit linux, mac, and bsd systems.
|
||||||
- Allow using `&named` in function prototypes for named arguments. This is a more ergonomic
|
- Allow using `&named` in function prototypes for named arguments. This is a more ergonomic
|
||||||
variant of `&keys` that isn't as redundant, more self documenting, and allows extension to
|
variant of `&keys` that isn't as redundant, more self documenting, and allows extension to
|
||||||
things like default arguments.
|
things like default arguments.
|
||||||
|
@ -166,7 +166,7 @@ extern "C" {
|
|||||||
/* Enable or disable the FFI library. Currently, FFI only enabled on
|
/* Enable or disable the FFI library. Currently, FFI only enabled on
|
||||||
* x86-64, non-windows operating systems. */
|
* x86-64, non-windows operating systems. */
|
||||||
#ifndef JANET_NO_FFI
|
#ifndef JANET_NO_FFI
|
||||||
#if !defined(JANET_WINDOWS) && (defined(__x86_64__) || defined(_M_X64))
|
#if !defined(JANET_WINDOWS) && !defined(__EMSCRIPTEN__) && (defined(__x86_64__) || defined(_M_X64))
|
||||||
#define JANET_FFI
|
#define JANET_FFI
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user