[PD-dev] tgrills' alternate loader function

Hans-Christoph Steiner hans at eds.org
Wed Nov 23 17:34:53 CET 2005


On Nov 23, 2005, at 6:25 AM, Thomas Grill wrote:

>
>
> Hans-Christoph Steiner schrieb:
>
>>
>> I just saw the alternate loader patch and really like that idea.  It   
>> would be handy to write externals in any script language too.  Since   
>> IOhannes and I have also just written alternate loaders of sorts (HEX  
>>  and libdir), it would be good to incorporate these two patches with   
>> yours and get it into the Pd-extended builds to try it out.
>>
> true
>
>> There isn't enough info for me to include your patch, to start with,  
>> a  diff -uw (with context) would make for a more flexible patch.   
>> Also, I  didn't see how to add new loader functions (I've never  
>> worked with  pointers to functions in C).
>>
> i updated the tracker item with a -uw patch and a small usage example.  
> I hope things are clearer now - it's simplistic.
>
>> You can see IO's and my patches in CVS in packages/patches.    
>> loaderHEX-0.39-1.patch and libdir-0.38-4.patch.  Both apply smoothly  
>> to  0.38.4 and pd in CVS.
>>
> don't forget that i'm under Windows where patching tools are not that  
> comfortable.
> Also, i never work with Miller's version, so i can't be sure whether  
> the patch applies ok there.

In case you are interested, it doesn't apply to the HEAD of pd MAIN.

hans at sla:src > patch <  
~/cvs/pure-data/packages/patches/testing/loader-uw.patch
(Stripping trailing CRs from patch.)
patching file m_pd.h
Hunk #1 succeeded at 429 with fuzz 2 (offset -68 lines).
(Stripping trailing CRs from patch.)
patching file s_loader.c
Hunk #1 FAILED at 46.
Hunk #2 FAILED at 72.
Hunk #3 FAILED at 118.
Hunk #4 FAILED at 143.
Hunk #5 FAILED at 156.
Hunk #6 FAILED at 169.
6 out of 6 hunks FAILED -- saving rejects to file s_loader.c.rej




.hc

________________________________________________________________________ 
____

                   ¡El pueblo unido jamás será vencido!





More information about the Pd-dev mailing list