[PD] My first external: [fsm] finite state machine for pd

Martin Peach martin.peach at sympatico.ca
Thu Apr 16 06:18:28 CEST 2009


I think I found it. The function fsm_getbytes should look like this:

void * fsm_getbytes(int s) {
	return getbytes(s);
}

instead of
void * fsm_getbytes(int s) {
	return getbytes(sizeof(s));
}

At least now the help patch doesn't crash Pd on WinXP.

Martin

lsw wrote:
> Hi Matthew,
> 
> thanks for testing. I started pd by doubleclicking the help-file on my 
> Mac without experiencing any crashes.
> 
> Does the external crash as well, if you instantiate it manually, or is 
> it just the help-file?
> 
> I compiled the DLL with DevCPP (according to 
> http://www.youngmusic.org/wiki/index.php/PD-linking-tutorial ) and 
> Darwine on my Mac... might be a little weird. Could anyone be so kind to 
> try to compile a win binary on a more solid setup? I think IOhannes 
> Makefile should work for that.
> 
> Thanks again,
> Lsw~
> 
>> Help file keeps crashing Pd on Win machine when I try to open it.  Anyone
>> else?
>>
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 
> 





More information about the Pd-list mailing list