Better way to PyArg_ParseTuple
6 Nov
2012
6 Nov
'12
7:21 p.m.
Hello Gang, I was wondering about a better way to accept dummy arguments in a object. *PyArg_ParseTuple(args, "|ssi", &meh, &path, &font_size) )*
I would like to omit the* meh variable for a null pointer instead like this. * *PyArg_ParseTuple(args, "|ssi", NULL, &path, &font_size) )*
This become necessary when args are passing from one object to another with Py_Tuple creations.
Any thoughts?
-- Bust0ut, Surgemcgee: Systems Engineer --- surgemcgee.com Django_Teamplate3d
4385
Age (days ago)
4385
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Steckroth