[PD-dev] Making externals work by sending post("",);

Jonathan Wilkes jancsika at yahoo.com
Fri Sep 12 02:43:56 CEST 2014

theValue is presumably an integer, so what is its relationship to your array?

Also, is it a t_atom* array or some other type of array you convert to a t_atom* array?

Your post() behavior sounds _vaguely_ familiar, though...


On Thursday, September 11, 2014 8:33 PM, Ed Kelly <morph_2016 at yahoo.co.uk> wrote:

Hi devs,

I've recently, and a number of times in the past had a problem with writing externals which is this:
An external is supposed to output something (such as a list) from an internally stored array, and it does not work.
When I add a 
post("This is this %d",x->theValue);
It starts working.
This has happened to my code more than once, both in Pd under Linux and in libPd in iOS. It's happened not just recently, but over a number of years.
I wonder if there is a relationship between Pd and the use of internal arrays that has to be cemented in some way before it can work, and if there is some problem in the Pd code (or I might be stupid about something).
I'll try to find a simple way of demonstrating this - the current extern is about 1800 lines of C, but maybe I can cook up a test if I have time.

Has anyone else had this problem?
Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad

Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!
Pd-dev mailing list
Pd-dev at lists.iem.at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20140911/26b9f4b7/attachment.html>

More information about the Pd-dev mailing list