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

IOhannes m zmoelnig zmoelnig at iem.at
Mon Feb 27 10:34:21 CET 2012


-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9LThoACgkQkX2Xpv6ydvSiDgCgp66rCC7oHqf86/z39WtUEIJc
1y4An0+WwXKtf7X87dlrKlrfSpzqEm3N
=+2wu
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120227/0711fcd0/attachment.bin>


More information about the Pd-list mailing list