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

Ed Kelly morph_2016 at yahoo.co.uk
Fri Sep 12 02:27:53 CEST 2014


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?
Ed 
 
Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad
http://www.ninjajamm.com/


Gemnotes-0.2: Live music notation for Pure Data, now with dynamics!
http://sharktracks.co.uk/ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20140912/1f4be518/attachment.html>


More information about the Pd-dev mailing list