[GEM-dev] adding exemple to gem

Mike McGonagle mjmogo at gmail.com
Fri Jan 4 00:08:10 CET 2008


On Jan 3, 2008 4:27 PM, Mathieu Bouchard <matju at artengine.ca> wrote:

> On Thu, 3 Jan 2008, IOhannes m zmoelnig wrote:
>
> > miller expressed his concerns once, that people should not abuse the
> > gpointer for whatever. Pd assumes things about the gpointer, which are
> > not necesserarily true when they are really pointers to "something
> > else".
>
> I'm curious: apart from GEM, GridFlow and PDP, are there any other
> externals using pointers abnormally?


In the SQL stuff that I am working on, I cast a (char *) to a gpointer. BUT,
I believe I have it set up in such a way that PD never actually does
anything to that object, other than pass it around in a message. I send it
in a message to another object, and immediately cast it back to a (char *).
So far nothing has crashed on me. I am sure there are probably better ways
of handling character strings, I just have not found the proper way (if
there is one) to do it... My reasons for doing this is because I don't want
to have to deal with all the various characters that PD will escape, things
like comma's and semicolons.

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20080103/57fec40f/attachment.htm>


More information about the GEM-dev mailing list