On Sun, Nov 02, 2014 at 11:01:59PM +0000, Martin Ling wrote:
> On Mon, Oct 27, 2014 at 05:01:52PM +0800, Matrix wrote:
> > 
> >      i suggest the function list_ports don't just return SP_OK if 
> > success instead of return the ports count is much better for vala's 
> > iterator syntax.
> 
> I agree this would have been a good idea - quite aside from its
> relevance for your Vala needs, it saves any client from needing to
> iterate the returned pointer array to count the ports found.
> 
> However, we have already had a public release with the function
> returning only SR_OK or an error. We are very strict about following all
> the rules when it comes to library API/ABI versioning, and we were very
> careful with the design of the API to ensure that future versions could
> remain fully backwards compatible.
> 
> So I think unfortunately it is too late to change this. Uwe, do you have
> any thoughts?

It's too late for the 0.1.x series which cannot have any API changes,
but for the next major (API-changing) release it can be done, of course.


Uwe.
-- 
http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org

------------------------------------------------------------------------------
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to