Commit graph

25 commits

Author SHA1 Message Date
Alex Shinn
20c62ffe4a The global ABI error object needs to be an immediate, since if
the ABI is incompatible we can't even necessarily refer to a
global from within the bad library.
2013-02-10 16:38:18 +09:00
Alex Shinn
2a1f916475 chibi-ffi uses execute instead of system when compiling to pass through the result 2013-01-31 22:26:19 +09:00
Alex Shinn
5127e30ab2 Booleans are passed as #t/#f in Scheme but ints in C. 2013-01-31 22:20:15 +09:00
Alex Shinn
ed308c4063 Adding char validator. 2013-01-25 00:45:03 +09:00
Alex Shinn
5f705339ef Supporting an arbitrary number of gc vars in FFI (e.g. as caused by more than 5 result params). 2013-01-23 23:35:51 +09:00
Alex Shinn
fa44ad7cf8 Binding finalizers. Handling multiple implicit or explicit calls to finalizers. 2013-01-23 23:06:39 +09:00
Alex Shinn
8f956416fc A void return type combined with result parameters will discard the void result.
Enhancement request from issue #170.
2013-01-20 18:25:04 +09:00
Alex Shinn
0a9dce93b0 Ports can be passed for fileno arguments. The fileno-nonblock return type
can be specified to automatically make the result non-blocking.
2012-12-31 00:21:43 +09:00
Alex Shinn
bea3d1937c Allowing non-dotted attrs and non-string values. 2012-12-08 21:56:10 +09:00
Alex Shinn
9e1034be02 Don't map expansion across non-lists. 2012-12-08 20:30:44 +09:00
Alex Shinn
b6ba47c2e3 Auto-importing the module being documented with chibi-doc.
Keeping environment separate from the interaction-environment.
2012-11-12 22:47:45 +09:00
Alex Shinn
3373469883 SRFI-22 now requires the -r (run) option. 2012-11-11 16:17:26 +09:00
Alex Shinn
41c80d06ca Maybe-null patch for strings in chibi-ffi from Lorenzo. 2012-11-10 20:56:27 +09:00
Alex Shinn
08a5a2e0e8 Renaming the (scheme) library to (chibi). Leaving (scheme) as an alias for backwards compatibility. 2012-10-14 22:11:47 +09:00
Alex Shinn
5b31263136 Linked values will be applied to the first result in a multi-result function.
Also adding support for value function conversions (e.g. string-length
-> sexp_string_length).
2012-10-09 21:50:56 +09:00
Alex Shinn
4554b1f860 moving (chibi strings) to (chibi string) in conjunction with R7RS vote to prefer singular form of module names 2012-08-15 21:33:19 +09:00
Alex Shinn
cc1821a61e (scheme char) now supports full unicode char properties and case mappings 2012-07-23 23:23:39 +09:00
Alex Shinn
69646a0c94 don't free stack-allocated arrays in ffi generated code 2012-07-16 23:34:10 +09:00
Alex Shinn
ea8a3df083 using 0 for final array value initialization instead of NULL 2012-07-16 23:30:54 +09:00
Alex Shinn
35226238ed Removing spurious ctx argument to sexp_make_character. 2012-07-16 22:27:41 +09:00
Alex Shinn
7e67460770 Fixing handling of [un]signed integer type names in the FFI. 2012-07-13 06:48:13 +09:00
Alex Shinn
446f8910f3 fixing source line checks in chibi-doc 2012-07-09 20:23:16 +09:00
Alex Shinn
c903a73921 adding ascii and full unicode char-set libraries based on isets 2012-06-17 19:36:17 +09:00
Alex Shinn
c8f13f8538 Adding (scheme cxr) library, removing all other references to c[ad]{3,4]r. 2012-05-20 15:16:11 +09:00
Alex Shinn
85a7efc003 automatically making sockets non-blocking on accept 2012-05-14 08:37:45 -04:00