On Jan 3, 2008 4:27 PM, Mathieu Bouchard <matju@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