mirror of
https://github.com/janet-lang/janet
synced 2025-11-15 14:57:22 +00:00
Add some FFI testing and more improvements to sysv abi.
Add support for integer return and floating point return variants, as well as arguments on the stack. Start flushing out struct arguments. Still needed: - structs (packed and unpacked) - complex numbers - long doubles - MASM alternative for windows (you can technically use sysv abi on windows) - more calling conventions.
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
#include <alloca.h> /* for ffi */
|
||||
|
||||
#if !defined(JANET_REDUCED_OS) || !defined(JANET_SINGLE_THREADED)
|
||||
#include <time.h>
|
||||
|
||||
Reference in New Issue
Block a user