Re: [CINT] Re: [ROOT] TMethodCall::Execute

From: Masaharu Goto (MXJ02154@niftyserve.or.jp)
Date: Thu Nov 13 2003 - 14:51:04 MET


Hello Rene,

About length limit of the params argument, itself doesn't have
direct limit, but each argument separated by ',' has to be less
than G__ONELINE.

     "12345134,aaaaabbbbbbbbbbcccccccccccccc,3.151245"
       <--a0---> <------------a1------------------> <---a2->

In above example, each of a0-a2 has to be shorter than G__ONELINE
which is defined as 4096 most of the cases.

Thank you
Masa Goto


----- Original Message -----
From: "Rene Brun" <Rene.Brun@cern.ch>
To: "Gero Flucke" <gero.flucke@desy.de>
Cc: <cint@pcroot.cern.ch>
Sent: Thursday, November 13, 2003 7:40 PM
Subject: [CINT] Re: [ROOT] TMethodCall::Execute


> Hi Masa,
>
> Could you answer this question from Gero (was in roottalk)?
>
> TMethodCall::Execute calls G__CallFunc::SetVars(params)
>
> What is the maximum length of the params string?
> I have the impression that this is defined by G__MAXFUNCPARA
> that is set to 40 by default. This is certainly too short in case
> of templated arguments.
>
> Rene
>
>
> Gero Flucke wrote:
> >
> > Hi!
> > I wonder whether (and why if I am right) in
> >
> > TMethodCall::Execute(void* object, const char* params)
> >
> > there is a limitation of the length of the string 'params'?
> >
> > For me it seems that it must not be longer than 255 characters,
otherwise
> > it crashes - most of the times...
> >
> > (ROOT 3.04_02 and 3.05_07 on linux, pentium III)
> >
> > Cheers
> >
> >         Gero Flucke
> >
> > -----------------------------------------------------------------------
> > Gero Flucke
> > 1a / 603
> > DESY
> > Notkestr. 85
> > 22607 Hamburg
> > +49-(0)40-8998-2454
>
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET