Re: C-API for ROOT ?

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Wed, 19 Jan 2011 10:15:54 +0100


Hi,

Sebastien Binet wrote on 01/18/2011 01:41 PM:
> On Tue, 18 Jan 2011 10:48:52 +0100, Axel Naumann <Axel.Naumann_at_cern.ch> wrote:

>> the recommended way to access ROOT is through TClass / TMethodCall.

> that's probably for another forum but I really thought the agreement was
> on Reflex... (b/c TClass cannot represent all C++ types - e.g. enums)
> but ok.

No. If things are missing in TClass we'll have to retrofit them. We would prefer to do that once we have a better reflection data source :-)

>> There is no C API for it, but you could create a simple C wrapper, using
>> the TClass / TMethodCall as opaque handles.

> bummer nobody did the work for me :)
> ok, I'll roll my own (but I'd be happy to provide it back in the same
> spirit than the clang C-API)

To be honest, I am not aware of any other request for it.

Cheers, Axel. Received on Wed Jan 19 2011 - 10:15:58 CET

This archive was generated by hypermail 2.2.0 : Wed Jan 19 2011 - 17:50:01 CET