[PD] copying tabwrite~ from d_array.c as an external, not working.

IOhannes m zmölnig zmoelnig at iem.at
Mon Sep 3 21:02:49 CEST 2018


On 9/3/18 8:46 PM, Matt Davey wrote:
> Thanks as always Iohannes.
> 
> removing static did the trick.
> 
> wondering why this works for the original tabwrite~ though?
> ´


because the original tabwrite~'s setup function gets called by
d_array_setup() which lices in the same compilation unit (aka: source file).
d_array_setup() is called, because Pd doesn't use the library loader
bootstrapping for initialising it's built-in objects, but calls a
hardcoded list of setup-functions.

gfmards
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180903/0652897a/attachment.sig>


More information about the Pd-list mailing list