Eli Barzilay
e9bcf8b15f
work around xform parsing issue
...
svn: r14766
2009-05-09 23:21:13 +00:00
Eli Barzilay
cd6fbedfa8
dont take sizeof(void), fix function typecase (both PR10234), fix error message
...
svn: r14764
2009-05-09 19:39:17 +00:00
Eli Barzilay
d39ff7e079
fix other comment terminator in .ssc, reflow comment
...
svn: r14163
2009-03-17 22:41:13 +00:00
Matthew Flatt
e8dba7c7b1
fix comment closer: merge to 4.1.5
...
svn: r14159
2009-03-17 20:49:04 +00:00
Eli Barzilay
0373964141
Finally a version that uses the new preprocessor language.
...
svn: r14079
2009-03-12 19:02:16 +00:00
Eli Barzilay
c20a9ab7a8
yet more formattings
...
svn: r14078
2009-03-12 18:59:37 +00:00
Eli Barzilay
e59b597753
minor change to an error message
...
svn: r14070
2009-03-12 09:07:41 +00:00
Eli Barzilay
813e16489e
more minor formattings
...
svn: r14069
2009-03-12 08:48:04 +00:00
Eli Barzilay
60a421e9ab
reformatting, moving some undefs, etc -- preparing for a new preprocessor version
...
svn: r14067
2009-03-12 05:51:42 +00:00
Matthew Flatt
0663588ee1
change _string/utf-16 and _string/ucs-4 so that #f = NULL (for consistency with other pointer types), and drop the /null variants
...
svn: r13031
2009-01-07 17:49:14 +00:00
Matthew Flatt
61685c72f9
revised Mac OS X sleeping; optional atomic mode for FFI callbacks
...
svn: r13016
2009-01-06 13:07:45 +00:00
Matthew Flatt
d596401804
scheme/foreign: allow #f as NULL function pointer, allow callback as cpointer
...
svn: r12992
2009-01-03 18:51:15 +00:00
Matthew Flatt
82ead03b92
change _fpointer handling to work with function pointers in structs and other such uses; add 'function-ptr' casting operation
...
svn: r12913
2008-12-20 05:09:35 +00:00
Matthew Flatt
7dc56df949
add FFI types _string/utf-16/null and _string/ucs-4/null
...
svn: r12911
2008-12-19 23:59:33 +00:00
Matthew Flatt
9ea047a05e
fix ptr-set! to allow installing function points into an offset cpointer
...
svn: r12910
2008-12-19 23:39:55 +00:00
Eli Barzilay
d1e5dd842e
use symbols for printout of primitive types
...
svn: r12894
2008-12-19 01:44:08 +00:00
Matthew Flatt
2c95f77c31
ctype->layout in scheme/foreign; prototype Objective-C binding in ffi collection
...
svn: r12890
2008-12-18 20:05:21 +00:00
Eli Barzilay
6283205982
ctype-basetype now holds:
...
* a symbol naming the type for primitive types
* a list of ctypes for cstruct types
* another ctype for user-defined ctypes
svn: r12882
2008-12-18 06:48:10 +00:00
Eli Barzilay
c71889c705
minor changes to have foreign.c in sync with foreign.ssc
...
svn: r12881
2008-12-18 04:03:21 +00:00
Matthew Flatt
ab18970f67
fix ffi passing offset null pointer
...
svn: r12879
2008-12-17 20:44:28 +00:00
Matthew Flatt
06efa91709
scheme_malloc_code and scheme_free_code
...
svn: r11958
2008-10-07 11:58:51 +00:00
Eli Barzilay
f2756fca3c
properly mark callback memory as executable
...
svn: r11930
2008-10-03 19:52:51 +00:00
Eli Barzilay
3570267c41
regenerate configure script; update README
...
svn: r11629
2008-09-10 09:53:49 +00:00
Eli Barzilay
f43990ee3b
use sysv only on Windows (usable elsewhere, but its the default anyway)
...
svn: r11625
2008-09-10 02:22:59 +00:00
Eli Barzilay
cc243ce220
catch up with latest libffi from the GCC repository
...
svn: r11573
2008-09-08 12:45:41 +00:00
Eli Barzilay
39a388e426
ABI constants are not preprocessor definitions; STDCALL only on Windows
...
svn: r11570
2008-09-08 06:29:29 +00:00
Eli Barzilay
bf1e7a5ab0
Added optional abi argument to ffi-call',
ffi-callback', `make-cstruct-type'.
...
svn: r11533
2008-09-04 10:35:41 +00:00
Matthew Flatt
8f084b06bf
remove +live_support to alloe Mac OS X 10.3 compilation
...
svn: r8436
2008-01-27 22:08:22 +00:00
Eli Barzilay
20b321a62b
Changed configure script to allow in-source-tree builds
...
svn: r8413
2008-01-25 04:56:08 +00:00
Eli Barzilay
98654b1cae
Recreate libffi/configure using autoconf 2.61
...
svn: r8412
2008-01-25 04:21:56 +00:00
Eli Barzilay
5b2b9d9f30
More README file updates
...
svn: r8410
2008-01-25 04:19:11 +00:00
Eli Barzilay
f1aa5957b0
Update README files
...
svn: r8409
2008-01-25 04:15:35 +00:00
Eli Barzilay
c19a3b7a74
added files from the GCC tree to make it possible to recreate the libffi configure script
...
svn: r8408
2008-01-25 04:02:25 +00:00
Eli Barzilay
ac1aa35522
svn: r8404
2008-01-24 17:19:31 +00:00
Eli Barzilay
d3d3996d7b
removed libffi testsuite directory
...
svn: r8403
2008-01-24 17:19:18 +00:00
Eli Barzilay
4ca0031d4a
README, more properties
...
svn: r8402
2008-01-24 17:11:54 +00:00
Eli Barzilay
5dda39e9ed
set properties, remove libffi/testsuite
...
svn: r8401
2008-01-24 17:07:23 +00:00
Eli Barzilay
559a0d9c28
catch up with latest libffi from the GCC repository
...
svn: r8400
2008-01-24 17:01:16 +00:00
Eli Barzilay
4b1d9beafc
removed old libffi copy
...
svn: r8399
2008-01-24 16:36:36 +00:00
Matthew Flatt
3443acd61a
GC and header fixes from Andrew Reilly
...
svn: r8385
2008-01-23 01:59:22 +00:00
Matthew Flatt
39cedb62ed
v3.99.0.2
...
svn: r7706
2007-11-13 12:40:00 +00:00
Matthew Flatt
441c509549
fix to 64-bit problems and let-values optimization (PRs 8748 and 8744)
...
svn: r6668
2007-06-15 22:54:56 +00:00
Matthew Flatt
e9385a910e
370.2
...
svn: r6369
2007-05-29 03:26:32 +00:00
Eli Barzilay
1e0f84d937
fix memory functions argument parsing, fix foreign tests
...
svn: r5711
2007-03-01 06:38:30 +00:00
Eli Barzilay
8b642ebc47
* Added `offset-ptr?' (returns #t for any offset, even if it's 0, #f for
...
no-offset or non-pointer)
* Added `ptr-add!' (must get `offset-ptr?' value, destructive, returns void)
* Added `ptr-offset' (works on any cpointer value)
* Added `set-ptr-offset!' for pointers, with an optional ctype multiplier
(works only for `offset-ptr?' inputs)
* Changed memcopy, memmove & memset to have a single c-type argument.
svn: r5646
2007-02-20 08:42:34 +00:00
Matthew Flatt
92193f575a
fix generation of SCHEME2C for non-ptr types
...
svn: r5624
2007-02-16 12:13:52 +00:00
Matthew Flatt
ba698cf9a4
fix SCHEME2C macro, which may help big-endian problem
...
svn: r5623
2007-02-16 11:36:47 +00:00
Matthew Flatt
4b765cfa5a
369.8
...
svn: r5594
2007-02-14 02:41:49 +00:00
Matthew Flatt
b3e86a9650
openbsd x86_64 patches
...
svn: r4597
2006-10-14 00:58:14 +00:00
Matthew Flatt
e315bb65dc
352.7
...
svn: r4592
2006-10-13 22:03:29 +00:00