Re: [Pharo-project] Cog/FFI Return Values

2011-03-16 Thread Ken Treis
uld try to reuse #ffiReturnStruct:ofType:in: if we guarded the memcpy() with a flag check for FFIFlagStructure. Or maybe there's a cleaner solution that's beyond my hazy view at the moment. -- Ken Treis Miriam Technologies, Inc.

[Pharo-project] Cog/FFI Return Values

2011-03-15 Thread Ken Treis
ported/legit (assuming it ever was)? 2. Is there a better way to accomplish the same thing, or do we just have to do the wrapping ourselves now? I'm pretty new to the FFI, so forgive me if the premise is wrong. All I know is that it doesn't work the way it used to. :) -- Ken Treis Miriam Technologies, Inc.

[Pharo-project] Alien + Cog VM

2010-11-10 Thread Ken Treis
o 1.1 using JMM's VMs when I load the Pharo 1.1 version from ConfigurationOfAlien, but I admit I haven't tried 1.1.1 in this arrangement. Is there something that's changed in Cog's Alien primitive implementation? -- Ken Treis Miriam Technologies, Inc.

Re: [Pharo-project] Alien on Pharo 1.2 on Mac

2010-08-02 Thread Ken Treis
___ > > Pharo-project mailing list > > Pharo-project@lists.gforge.inria.fr > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______ > P

[Pharo-project] Alien-Core-kdt.59

2009-10-21 Thread Ken Treis
ng in the Pharo implementation of #grownBy:. This should solve some nastiness that could happen when the table hit its initial maximum (1024 objects). -- Ken Treis Miriam Technologies, Inc. ___ Pharo-project mailing list Pharo-project@lists.gforge.in

Re: [Pharo-project] CairoGraphics

2009-09-28 Thread Ken Treis
have blown over that limit, so I haven't implemented the stack allocation portion and thus there's a limit on the total number of each type of argument supported. > > Fernando > > > Il giorno Sep 26, 2009, alle ore 1:59 AM, Ken Treis ha scritto: > >> On Sep 2

Re: [Pharo-project] CairoGraphics

2009-09-25 Thread Ken Treis
yone is interested in this, email me directly and I'll send you the code once I've worked out the remaining major bugs. Ken > > > On Sep 25, 2009, at 7:19 PM, Ken Treis wrote: > >> Hi Damien, >> >> Yes it definitely works -- at least for me, on Mac OS

Re: [Pharo-project] CairoGraphics

2009-09-25 Thread Ken Treis
ion. What about yours/Travis'? What can we do with it? Can we draw something in Pharo? Does it work? Thank you -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry --

Re: [Pharo-project] Status of Alien FFI

2009-09-22 Thread Ken Treis
Eliot, Johan, Fernando, et. al.: On Sep 16, 2009, at 3:09 PM, Eliot Miranda wrote: Hi Ken, On Wed, Sep 16, 2009 at 12:17 PM, Ken Treis wrote: Perhaps there would need to be new primitives for the basic size of each relevant C type? I'm anxious to hear what Eliot might have to say

Re: [Pharo-project] Status of Alien FFI

2009-09-19 Thread Ken Treis
go: >> >> http://www.squeaksource.com/CairoGraphics.html >> >> I have been using it for our VisualWorks web apps for quite a while >> and wanted to bring it with me. Plus I really need portability >> between Pharo and GLASS. Not that I couldn&#x

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Ken Treis
ild, so I was ignoring those sorts of cross-platform details. Perhaps there would need to be new primitives for the basic size of each relevant C type? I'm anxious to hear what Eliot might have to say about this since he's got about 2000x more experience with this than

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Ken Treis
that with Rome, but this seemed like an easier path for me. -- Ken Treis Miriam Technologies, Inc. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Ken Treis
level coding on this -- much of it is done already in my image -- but I thought I'd better ask the maintainer(s) first and this list is the best forum I've found for Alien issues. -- Ken Treis Miriam Technologies, Inc. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] Status of Alien FFI

2009-09-16 Thread Ken Treis
g the code in Alien-Prereqs, right? -- Ken Treis Miriam Technologies, Inc. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

[Pharo-project] Status of Alien FFI

2009-09-14 Thread Ken Treis
at it but I'm hardly the best qualified person to do that. If there's a better mailing list for Alien issues/discussion, please let me know. Thanks, -- Ken Treis Miriam Technologies, Inc. ___ Pharo-project mailing list Pharo-project@lists.