[Pharo-project] Good FFI examles?
Hello all, I am slowly getting access to metadata that I need to use to create structure definitions. Are there any good examples of FFI with complex structures, particularly with structs containing other structs as fields? Bill
Well you'll find that in the FFI calls in Sophie for doing macintosh file navigation services. On 2009-12-06, at 1:23 PM, Schwab,Wilhelm K wrote:
Hello all,
I am slowly getting access to metadata that I need to use to create structure definitions. Are there any good examples of FFI with complex structures, particularly with structs containing other structs as fields?
Bill
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
John, Thanks! I see lots of pointers to structs; will leaving off the * create a directly embedded copy of a struct? Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of John M McIntosh Sent: Sunday, December 06, 2009 5:04 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Good FFI examles? Well you'll find that in the FFI calls in Sophie for doing macintosh file navigation services. On 2009-12-06, at 1:23 PM, Schwab,Wilhelm K wrote:
Hello all,
I am slowly getting access to metadata that I need to use to create structure definitions. Are there any good examples of FFI with complex structures, particularly with structs containing other structs as fields?
Bill
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Sorry don't know the answer to that, try it? On 2009-12-06, at 2:27 PM, Schwab,Wilhelm K wrote:
John,
Thanks! I see lots of pointers to structs; will leaving off the * create a directly embedded copy of a struct?
Bill
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
participants (2)
-
John M McIntosh -
Schwab,Wilhelm K