Paul Hammant wrote on Fri, 04 Jan 2019 11:01 +:
> ^ Any chance of example code being checked in too? Short
> how-to-embed-subversion for C++ and C, I mean.
There are some examples of using the C API in tools/. There
are also minimal examples in subversion/tests/cmdline/*.c .
My bad - I assumed the contents of #1850344 were all new, but of
course the tests pre-existed that commit.
On 04.01.2019 12:01, Paul Hammant wrote:
> http://svn.apache.org/viewvc?view=revision&revision=1850344
>
> ^ Any chance of example code being checked in too? Short
> how-to-embed-subversion for C++ and C, I mean. Others elsewhere could
> go on to do examples for Rust, Python, Java
> (https://githu
http://svn.apache.org/viewvc?view=revision&revision=1850344
^ Any chance of example code being checked in too? Short
how-to-embed-subversion for C++ and C, I mean. Others elsewhere could
go on to do examples for Rust, Python, Java
(https://github.com/bytedeco/javacpp), etc.
On 31.12.2018 00:07, Branko Čibej wrote:
> Summary: I propose to create one or possibly several new public header
> files that will be used by both the C and C++ public APIs.
r1850344 is the result. Thanks again for the suggestions, I think this
is much cleaner than what I started with.
-- Brane
On 01.01.2019 02:08, James McCoy wrote:
> On Mon, Dec 31, 2018 at 12:07:23AM +0100, Branko Čibej wrote:
>> Summary: I propose to create one or possibly several new public header
>> files that will be used by both the C and C++ public APIs.
>>
>>
>> I would like to completely hide the dependency on
On Mon, 31 Dec 2018, 15:43 Julian Foad I guess I'm missing something. Why not just move the existing C
> declarations verbatim to an APR-free header (from svn_types.h to
> svn_types_impl.h, for instance), and in C++ use them directly like this
> (proposed lines marked '>'):
>
>/**
> * @bri
On Mon, Dec 31, 2018 at 12:07:23AM +0100, Branko Čibej wrote:
> Summary: I propose to create one or possibly several new public header
> files that will be used by both the C and C++ public APIs.
>
>
> I would like to completely hide the dependency on APR from the public
> parts of the C++ API. I
I guess I'm missing something. Why not just move the existing C declarations
verbatim to an APR-free header (from svn_types.h to svn_types_impl.h, for
instance), and in C++ use them directly like this (proposed lines marked '>'):
/**
* @brief Revision number type.
*/
- enum class num
On 31.12.2018 04:57, Troy Curtis Jr wrote:
> On Sun, Dec 30, 2018 at 6:07 PM Branko Čibej wrote:
>
>> Summary: I propose to create one or possibly several new public header
>> files that will be used by both the C and C++ public APIs.
>>
>>
>> I would like to completely hide the dependency on APR
On Sun, Dec 30, 2018 at 6:07 PM Branko Čibej wrote:
> Summary: I propose to create one or possibly several new public header
> files that will be used by both the C and C++ public APIs.
>
>
> I would like to completely hide the dependency on APR from the public
> parts of the C++ API. In order to
Summary: I propose to create one or possibly several new public header
files that will be used by both the C and C++ public APIs.
I would like to completely hide the dependency on APR from the public
parts of the C++ API. In order to do that, public C++ headers must not
include the C headers dire
12 matches
Mail list logo