Re: Searching for a C++ API
On 30.01.2018 13:30, Daniel Shahaf wrote:
> R developer wrote on Tue, 30 Jan 2018 10:22 +0100:
>> I'm not that familiar with the C API unless I'm missing something
>> (which is very well possible) one would have to manage the apr pools
> In the C API, the caller of a function passes to it a result_pool and a
> scratch_pool, and decides when to reclaim or free their memory space
> (apr_pool_clear / apr_pool_destroy).
>> for instance
>> does seem very complex to me for the tasks it performs is there any
>> easier C example out there?
> svnlook? svnmucc? subversion/tests/cmdline/*.c?
> There were C++ language bindings developed in trunk, see
> subversion/bindings/cxxhl/. I don't know what the state of the art on
> that is --- quite possibly they aren't stable yet --- but they are
> Apache Licensed, so perhaps you could build on them. If they don't
> yet provide some functionality which you require, please do send
> patches :-).
There's hardly any art there that could be in a state. Most of that
effort was making things compile ... there's no real substance there
(but there is a false start or two).
Received on 2018-01-30 14:37:48 CET
This is an archived mail posted to the Subversion Users