[PD-dev] Double precision externals extensions.
IOhannes m zmölnig
zmoelnig at iem.at
Wed Dec 11 18:36:16 CET 2019
Am 11. Dezember 2019 17:32:40 MEZ schrieb Lucas Cordiviola
>
> if (dirsym) {
> dirsym = pddplink_class->c_externdir; /* FIXME */
> sys_vgui("source {%s/pddplink.tcl}\n", dirsym->s_name);
> } else {
> dirsym = NULL;
> }
this is bogus.
you set dirsym to NULL if it's already NULL (the default) and to something if it already points to something.
the proper condition is:
if(pddplink_class) {
dirsym=...
} else {
dirsym=NULL;
}
mfg.hft.fsl
IOhannes
More information about the Pd-dev
mailing list