-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-02-26 19:50, Mathieu Bouchard wrote:
Le 2012-02-22 à 08:42:00, IOhannes m zmoelnig a écrit :
On 2012-02-22 06:46, Mathieu Bouchard wrote:
So, are you switching GEM away from MSVC, or are you going to make a C API so that GEM can actually collaborate with other Pd-based frameworks that want to read its data on Windows ?
well, yes; i'd like to
Well, let's say that this interface is only for supporting pixes in other frameworks without having to go through [pix_data] and [pix_set]. What would you put in it ?
Some kind of permanent interface for getting/setting xsize, ysize, csize, upsidedown, type and format ; something to see whether there's a pix at all, something for creating one, and some explanation of how newimage/newfilm is supposed to work...
yes....basically a C-wrapper to access imageStruct members and methods via an opaque (imageStruct*) pointer. and a wrapper to extract that from an opaque GemState* pointer.
And a try/catch in every wrapper to protect against exception problems between MSVC and GCC.
Or else just discontinuing the MSVC edition...
no.
which thing do you mean when you say that you would « like to » ?
i'd like to have both MinGW and MSVC
fgm,asdr IOhannes