Hi Smalltalkers,
-- I'm toying with the idea of creating VA Smalltalk objects to interface to LibUSB. This requires building a bunch of C structures (sub classes of OSStructure). I'm not a C guy and don't want to be but I am generally able to muddle through when I have to. I'm hoping that when I run into trouble matching a C data type to a Smalltalk class I can ask for some help here. Before I jump into this, is there any Smalltalk code around (or at Instantiations) that can read C .h files (or whatever) and output Smalltalk? Lou You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Lou,
Marten and I did this for the OpenGL binding once, you may have a look into the OpenGL binding available on vastgoodies.com. In the MSKOpenGLInterfaceApp class on the class side there is a category "source code generation" which includes methods to parse gl.h and generate function call methods and needed PRAGMAS. The configuration maps on vastgoodies are old and out of sync but with some tweaking you can load them. I can also email you a fileout of that class if you want. Hope that helps Sebastian On 2015-12-07 8:56 AM, Louis LaBrunda
wrote:
-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Hi Sebastian,
-- Thanks for the reply, I will take a look. I'm sure it will be helpful. Lou On Monday, December 7, 2015 at 12:43:42 PM UTC-5, Sebastian Heidbrink wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |