Hi Sebastien,
the recommended way to access ROOT is through TClass / TMethodCall. There is no C API for it, but you could create a simple C wrapper, using the TClass / TMethodCall as opaque handles.
Cheers, Axel.
Sebastien Binet wrote on 01/18/2011 10:16 AM:
> hi there,
>
> I know the recommanded way to access ROOT features from other languages
> it thru Reflex (or CINT) dictionaries but the stub functions which are
> generated aren't very user friendly.
> instead of calling method_6666(some_args) to call the method Foo on
> class TBar, it would be more user friendly for the occasional
> foreign-language wrapper to call say, TBar_Foo(TBar*, someargs)
>
> did anyone already generated such wrappers ? bonus points if they were C
> ones.
> or is there a way to generate something like that (already) from
> e.g. the genreflex script ?
>
> cheers,
> sebastien.
>
Received on Tue Jan 18 2011 - 10:48:57 CET
This archive was generated by hypermail 2.2.0 : Tue Jan 18 2011 - 17:50:01 CET