[racket] size_t and FFI?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Feb 13 14:12:00 EST 2013

Those turn out to be `size_t's. Robby helped me grep the rest, and it
looks like there are no `_size's in Planet.

Google turns up one binding of `_size' for me:

 https://github.com/veer-public/machine-learning/blob/master/gsl/gsl-ffi.rkt

Veer: any opinion on whether we should break your code? :)

At Sun, 10 Feb 2013 18:39:47 -0600, Robby Findler wrote:
> ryanc/db.plt jaymccarthy/opencl.plt and jaymccarthy/zeromq.plt all have it.
> I stopped searching at that point.
> 
> Robby
> 
> 
> On Sun, Feb 10, 2013 at 5:52 PM, Tony Garnock-Jones <tonyg at ccs.neu.edu>wrote:
> 
> > On 2013-02-10 9:00 AM, Matthew Flatt wrote:
> > > I think that's likely to be right for all platforms where Racket runs,
> > > but we should define it in one place.
> >
> > Cool.
> >
> > > Should we add `_size' to `ffi/unsafe', risking collisions with existing
> > > code?
> >
> > This sounds best to me. (And while I think it should be _size_t, that
> > would be inconsistent with the existing _uintXY etc. Hmm. Never mind.)
> >
> > There is no _size identifier in any of the current Racket codebase, so
> > no collisions there. Does anyone have a full greppable snapshot of
> > planet to check?
> >
> > Cheers,
> >   Tony
> > ____________________
> >   Racket Users list:
> >   http://lists.racket-lang.org/users
> >

Posted on the users mailing list.