Hi,

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?


Martin

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

Reply via email to