[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Searching for a C++ API

From: Branko Čibej <brane_at_apache.org>
Date: Tue, 30 Jan 2018 14:37:42 +0100

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
>> himself?
> 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
>> https://svn.apache.org/repos/asf/subversion/trunk/tools/examples/minimal_client.c
>> 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).

-- Brane
Received on 2018-01-30 14:37:48 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.