Commit Graph

96 Commits

Author SHA1 Message Date
Matthew Flatt
ff0a591b7b change FFI `_float' to coerce to Racket double-precision flonum 2011-01-31 19:33:07 -07:00
Matthew Flatt
2c0a034792 doc typo fixes from Eric Hanchrow 2011-01-27 19:20:13 -07:00
Robby Findler
519eb580b2 typo 2010-12-24 13:36:31 -06:00
Matthew Flatt
7f5ac2b7f9 restore Win64 fix to FFI
that I had improperly added to "foreign.c" instead of the source
2010-12-14 07:53:19 -07:00
Matthew Flatt
116d88577e restore old behavior of _fixint' and _ufixint'
Closes PR 11492
2010-12-03 14:20:38 -07:00
Matthew Flatt
8b8dd77ad6 change nearly all long's to intptr_t'
and also changed vector, string, and byte string counts to
   `intptr_t' instead of `int'.

   Except for the vector count, etc. change, this is not really a
   change for any currently supported platform, where `intptr_t'
   is the same as `long'. It's a step to suporting Win64, though,
   where `long' is the same as `int' instead of `intptr_t'.
2010-12-03 08:48:33 -07:00
Matthew Flatt
bd28f2ab54 make `equal?' equate C pointers that refer to the same address 2010-11-24 13:41:11 -07:00
John Clements
b2edac3179 edited async-apply description 2010-11-16 17:56:13 -08:00
Eli Barzilay
b8bbed6eb4 Throw an error when translating an unknown enum integer to a symbol.
Also, add a keyword argument that can be used to get the old behavior
back.

Also, improve the way the `_enum' and `_bitmask' functions are wrapped.
2010-11-16 15:19:38 -05:00
Matthew Flatt
a8b318da7a fix ffi issue with pointer vs. gcpointer
- don't put a non-gcpointer into a pointer array during ffi call setup
 - fix GCness of pointers to structs inside of structs
2010-11-14 15:54:17 -07:00
Eli Barzilay
615d8f1329 Add _intptr etc; closes PR11311. 2010-10-12 20:58:08 -04:00
Matthew Flatt
337ace3847 add u8vector->cpointer for consistency; document ->cpointer, etc. 2010-09-27 06:08:58 -04:00
John Clements
c0e34a7166 minor doc update to ffi/cvector 2010-09-25 17:19:03 -07:00
Matthew Flatt
17cdb9eb3b move #:alignment option for `define-cstruct' to end
to make it consistent with options for `struct' and `define-struct'
2010-09-10 08:06:41 -06:00
Matthew Flatt
6ac15688b2 add alignment option to ffi's cstruct support 2010-09-10 06:59:52 -06:00
John Clements
c636aeb840 added docs for 'type' argument to memset 2010-08-27 16:42:32 -07:00
Matthew Flatt
2a387ebba2 try to clarify the async-apply protocol for callbacks 2010-08-25 14:58:27 -06:00
Matthew Flatt
9c0c42f24a fix ffi/unsafe/try-atomic interaction with exns and prompt tags 2010-08-15 11:02:30 -06:00
Matthew Flatt
9dda6f5d6b doc clarification 2010-08-14 13:52:09 -06:00
Matthew Flatt
6c8a914c80 support for speculatively atomic calls in ffi/unsafe/try-atomic 2010-08-07 20:49:23 -05:00
Matthew Flatt
4d1e97ec8d change start-atomic and end-atomic to disable breaks 2010-08-07 20:40:32 -05:00
John Clements
f86edf3c8e added message about OS behavior on (non-)reload of library 2010-08-06 20:44:14 -04:00
Matthew Flatt
fd5213b0ef typo in foreignobjc docs
Closes PR 11038
2010-07-16 20:43:22 -06:00
Matthew Flatt
768a3721f9 add async-apply support to FFI 2010-07-11 14:59:40 -06:00
Matthew Flatt
5592dd1489 doc corrections
Merge to 5.0
2010-05-31 13:17:11 -06:00
Matthew Flatt
f94b727118 Fix one "PLT" that should be "Racket"
Merge to v5.0 if convenient
2010-05-28 16:55:25 -06:00
David Van Horn
22e2f3061f Various typo, spelling, and punctuation fixes in scribblings.
Signed-off-by: David Van Horn <dvanhorn@ccs.neu.edu>
2010-05-28 14:47:54 -06:00
Eli Barzilay
28946a0a43 More reformatting 2010-05-21 20:41:35 -04:00
Eli Barzilay
c4f67b3e74 Small typos, some reformatting.
Fixes PR10920
2010-05-21 16:30:16 -04:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Matthew Flatt
1a5e662433 doc corrections and completions 2010-05-08 11:46:14 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
b7c184632b racket/unsafe/ffi -> ffi/unsafe, etc. 2010-04-26 18:05:29 -06:00
Matthew Flatt
4acba84b5b reorganize and extend FFI under racket/unsafe/ffi 2010-04-26 17:10:55 -06:00
Matthew Flatt
c7e723eef7 somewhat rackety core docs 2010-04-22 15:10:25 -06:00
Matthew Flatt
d7e4db3efd fix some tests and docs after racket move 2010-04-20 17:28:07 -06:00
Matthew Flatt
6f0d6b28de some mz and ffi changes from the mr2 branch
svn: r18099
2010-02-16 17:55:28 +00:00
Matthew Flatt
2dcfe69763 fix doc typo
svn: r17673
2010-01-16 14:23:16 +00:00
Eli Barzilay
6daf99c7bf added keywords: to the custom _fun thing
svn: r17378
2009-12-21 08:52:44 +00:00
Eli Barzilay
64b11991c1 typo; clarify what happens on non-windows when 'windows is used
svn: r17372
2009-12-21 05:39:00 +00:00
Eli Barzilay
b6887adfe8 minor tweaking
svn: r17310
2009-12-15 18:09:44 +00:00
Matthew Flatt
87f05fed95 add #:save-errno option for foreign-function types
svn: r17299
2009-12-14 23:52:23 +00:00
John Clements
d18403a303 added simple example of _fun
svn: r17245
2009-12-09 00:06:13 +00:00
Matthew Flatt
21c6e08e4d fix typo
svn: r16784
2009-11-15 14:26:32 +00:00
Matthew Flatt
c49b22fa2c change _pointer to mean a reference to non-GCed memory; add _gcpointer (v4.2.2.6)
svn: r16546
2009-11-04 19:28:04 +00:00
Matthew Flatt
e704cc05cd add a note about cwd with _path description
svn: r15150
2009-06-12 01:39:56 +00:00
Eli Barzilay
4288c6c2c7 The Scribble reader was improved to make it pull out the syntax
punctuations outside of the form, as it does with quote punctuations.
So things like this

  #, @foo{...}

that required the space to make the @foo read as a scribble form are
now better written as

  @#,foo{...}

This changes all such occurrences.  (In case you see this change in
your files and are worried that there might be changes: I mechanically
verified that the result of `read'ing the modified files is identical
to the previous version.)

svn: r15111
2009-06-07 10:12:32 +00:00
Matthew Flatt
146f909afd clarify version handling in ffi-lib docs
svn: r14734
2009-05-06 20:22:09 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00