Is there a SWIG module for Squeak?

Andreas Raab Andreas.Raab at gmx.de
Fri Sep 7 19:25:20 UTC 2001


<apicall:> is in fact platform specific - but you don't have to use it.

Cheers,
  - Andreas

> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org 
> [mailto:squeak-dev-admin at lists.squeakfoundation.org]On Behalf 
> Of Douglas Brebner
> Sent: Friday, September 07, 2001 10:17 AM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: Re: Is there a SWIG module for Squeak?
> 
> 
> On Friday 07 September 2001 04:15, you wrote:
> > Douglas,
> >
> > > FFI isn't cross platform either which makes for more work
> > > wrapping it.
> >
> > What exactly do you mean this?! The FFI is perfectly 
> cross-platform as long
> > as some naming conventions are kept. And that's true for pluggable
> > primitives as well. E.g., if you name some plugin "foo" on 
> one platform and
> > "bar" on another one you shouldn't expect things to work 
> that smoothly ;-)
> 
> I was referring to the way that the unix FFI calls use 
> <cdecl:module:> while 
> the mac and windows calls use <apicall:module:>. I thought 
> this meant that 
> cross platform modules would need to know what platform 
> they're running on to 
> select the right call type. Sorry if I misinterpreted it, I'm 
> not very 
> familiar with how the FFI works.
> 
> -- 
> Douglas
> 
> 




More information about the Squeak-dev mailing list