Re: how to know argument name with which a function of extended c called

2009-04-15 Thread Aaron Brady
On Apr 15, 3:52 am, John Machin wrote: > On Apr 15, 6:13 pm, rahul wrote: > > > > > On Apr 14, 6:24 pm, John Machin wrote: > > > > On Apr 14, 10:35 pm, rahul wrote: > > > > > Hi, > > > >   i need to write a 'c extension function' in this function i need to > > > > change argument value with  wh

Re: how to know argument name with which a function of extended c called

2009-04-15 Thread John Machin
On Apr 15, 6:13 pm, rahul wrote: > On Apr 14, 6:24 pm, John Machin wrote: > > > > > On Apr 14, 10:35 pm, rahul wrote: > > > > Hi, > > >   i need to write a 'c extension function' in this function i need to > > > change argument value with  which this function called. > > > The appropriate way fo

Re: how to know argument name with which a function of extended c called

2009-04-15 Thread rahul
On Apr 14, 6:24 pm, John Machin wrote: > On Apr 14, 10:35 pm, rahul wrote: > > > Hi, > >   i need to write a 'c extension function' in this function i need to > > change argument value with  which this function called. > > The appropriate way for a function to give output is to return a > value,

Re: how to know argument name with which a function of extended c called

2009-04-14 Thread Arnaud Delobelle
rahul writes: > Hi, > i need to write a 'c extension function' in this function i need to > change argument value with which this function called. > ie, > if a python code like > import changeValue as c > arg="old value" > c.changeValue(arg) >

Re: how to know argument name with which a function of extended c called

2009-04-14 Thread John Machin
On Apr 14, 10:35 pm, rahul wrote: > Hi, >   i need to write a 'c extension function' in this function i need to > change argument value with  which this function called. The appropriate way for a function to give output is to return a value, or a tuple of values. example: def get_next_token(inp

how to know argument name with which a function of extended c called

2009-04-14 Thread rahul
Hi, i need to write a 'c extension function' in this function i need to change argument value with which this function called. ie, if a python code like import changeValue as c arg="old value" c.changeValue(arg) print arg then it print