[Python-Dev] Special-casing "O"

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat, 26 May 2001 07:28:32 +0200


> I was thinking of using pointer indirection for this:
> 
> 	foo(PyObject *self, int *i)
> 
> If i is given as argument, *i is set to the value, otherwise
> i is set to NULL.

That is a good idea; I'll try to update my patch to more calling
conventions.

Regards,
Martin