On Tue, 24 Jun 1997, Fons Rademakers wrote:
> You can interface from a script to shared libraries containing
> C function, but you will have to use rootcint to generate the
> interface stubs. Look in rootcint -?
Does that mean, that I can source the dictionary generated by rootcint in
the interpreter? (I tried but it seemed not to work.)
Or does it mean that I have to compile the dictionary (and the library?)
into an interface library? That's what I want to do anyway in the long
run, but for testing and cross-platform use it would be nice to use the
existing shared libraries (actually it was FORTRAN) and an interface
script.
Or does it mean that I have to use rootcint on the library sources? (Well
it's FORTRAN ;-(
Cheers
Robert
> and http://root.cern.ch/root/roottalk/0442.html
> to see what to do. Specifically, add for each function a line
> like
>
> #pragma link C++ function Strip;
> #pragma link C function copy;
>
> to your LinkDef.h file.
>
> Cheers, Fons.