Hi IOhannes,
Thanks, but still no luck:
Calling this segfaults:
/* this is called when foo1 gets the message, "rats". */ void foo1_rats(t_foo1 *x) { t_atom at; SETFLOAT(&at, 10); pd_typedmess(&pd_objectmaker, gensym("test"), 1, &at); }
There must be something completely stupid, I'm missing...
-- Orm
Am Montag, den 12. September 2016 um 20:55:34 Uhr (+0200) schrieb IOhannes m zmoelnig:
On 09/12/2016 08:08 PM, IOhannes m zmölnig wrote:
for instantiating abstractions in a more convoluted way, use a known-to-do-that object, like [clone] (incidentally [clone] uses pd_typedemess() for instantiating abstractions)
just for the record: [clone] is part of Pd>=0.47 and it's sources can be found e.g. here: https://sourceforge.net/p/pure-data/pure-data/ci/master/tree/src/g_clone.c
gmards IOhannes
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev