[ROOT] TMethodCall broken in 3.10/02?

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Fri Feb 13 2004 - 16:25:49 MET


Dear all,

I have a problem sind 3.10/02

I'm calling in a macro:

Double_t MyFunc(Double_t d)
{
     return 0;
}

TMethodCall *call = new TMethodCall;
call->InitWithPrototype("MyFunc", "Double_t");
Double_t d = 5;
call->SetParamPtrs(&d);

and I get:

Error: G__CallFunc::SetArgArray() must be initialized with 
'G__CallFunc::SetFunc(G__ClassInfo* cls,char* fname,char* args,long* 
poffset)' first

What does it mean? What is wrong now, which has worked for months now 
with 3.05/07 and earlier versions?

Thanks,
Thomas.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET