[PD] objects with no alphanumerical names, how to build them?

Alexandre Torres Porres porres at gmail.com
Tue Apr 5 06:19:00 CEST 2016


Well, I also found this zexy git https://git.iem.at/pd/zexy/

not sure how it compiles to objects like ==~ - coz i couldn't compile. But
my colleague, Flavio, checked it out, and seems to have realized about the
trick to compile an object as "==~". We did it and I compiled it for Mac Os
and it is working.

By the code from the git above as a model, we changed the original code
from:







*void equals_tilde_setup(void){ equals_class =
class_new(gensym("equals~"),(t_newmethod)equals_new, 0,sizeof(t_equals), 0,
A_GIMME, 0);sic_setup(equals_class, equals_dsp, SIC_FLOATTOSIGNAL);}*


To:







*void setup_0x3d0x3d0x7e(void){equals_class =
class_new(gensym("==~"),(t_newmethod)equals_new, 0,sizeof(t_equals), 0,
A_GIMME, 0);sic_setup(equals_class, equals_dsp, SIC_FLOATTOSIGNAL);}*



*void setup(void){setup_0x3d0x3d0x7e();}*


Then the compiled object can be named as ==~ and it loads fine here. Should
I expect that it loads just fine in any other OS as well?


cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160405/ec3e8918/attachment.html>


More information about the Pd-list mailing list