[PD-dev] [PD] new_anything changed?

Orm Finnendahl orm.finnendahl at selma.hfmdk-frankfurt.de
Mon Sep 12 21:48:15 CEST 2016


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 at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev




More information about the Pd-dev mailing list