mirror of
https://github.com/janet-lang/janet
synced 2025-10-08 04:22:27 +00:00
Add windows FFI example test case for void functions with double
argument.
This commit is contained in:
@@ -124,6 +124,10 @@ void void_fn(void) {
|
||||
printf("void fn ran\n");
|
||||
}
|
||||
|
||||
EXPORTER void_fn_2(double y) {
|
||||
printf("y = %f\n", y);
|
||||
}
|
||||
|
||||
EXPORTER
|
||||
void void_ret_fn(int x) {
|
||||
printf("void fn ran: %d\n", x);
|
||||
|
Reference in New Issue
Block a user