On 13 November 2015 at 16:50, <rhuijben@apache.org> wrote:
> Author: rhuijben
> Date: Fri Nov 13 13:50:24 2015
> New Revision: 1714206
>
> URL: http://svn.apache.org/viewvc?rev=1714206&view=rev
> Log:
> Make a standard 'bool' type available in our private API. This makes it easier
> to make some variables self-documenting.
>
> We already use a similar construct in the mock http server, so this just makes
> it easier to use a bool in our private functions without inventing our own
> boolean type.
>
> I don't see how we can expose this in the public api in a fully compatible
> way, but this at least allows using it internally.
>
May be just add "typedef int serf_boolean_t" like we have in
Subversion? In this case we will an option to change existing public
functions definition to use serf_boolean_t instead of int.
--
Ivan Zhakov
|