| I think we should increment the API major version number. Alternatively, I can move these members to the end of the struct and see if it still breaks compatibility.
Regards,
Mike
-----Original Message-----
>From: Anthony Kozar
>Sent: Sep 10, 2008 10:18 PM
>To: Csound Developer list
>Subject: Re: [Cs-dev] Recent changes break API compatibility?
>
>I have confirmed that backwards compatibility of the Csound library has been
>broken due (at least) to the addition of the spoutlock and spinlock struct
>members below. I tried a barmodel plugin compiled with 5.08 with the
>current 5.09 sources and it crashed Csound. No crash with pure 5.08 or puer
>5.09.
>
>Will this and any other potential breaks to the API be fixed before 5.09 is
>released or will the API major version number be increased?
>
>Anthony
>
>Michael Gogins wrote on 9/9/08 8:30 AM:
>
>> You are correct, Csound API compatibility is not being preserved.
>>
>> I also noticed that the Csound structure is not declared with sized types,
>> e.g. int is used instead of int32 or int64 or whatever.
>>
>> Regards,
>> Mike
>>
>> -----Original Message-----
>>> From: Anthony Kozar
>>> Sent: Sep 9, 2008 2:20 AM
>>> To: New Csound Developer list
>>> Subject: [Cs-dev] Recent changes break API compatibility?
>>>
>>> I am just looking through various changes over the past few months and I
>>> noticed a number of things that make me wonder if API compatibility is being
>>> preserved.
>>>
>>> Most recently, two new variables, spoutlock and spinlock, were added to the
>>> middle of the public section of the CSOUND struct:
>>>
>>> int ksmps, global_ksmps, nchnls, spoutactive, spoutlock, spinlock;
>
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |