[PD] C++ for reusable dsp lib - or better use C?

Mathieu Bouchard matju at artengine.ca
Sun Feb 26 19:50:20 CET 2012


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...

And a try/catch in every wrapper to protect against exception problems 
between MSVC and GCC.

Or else just discontinuing the MSVC edition... which thing do you mean 
when you say that you would « like to » ?

  ______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC


More information about the Pd-list mailing list