I'm writing my own python extension module with the C API. In python all functions pass arguments by reference, but how can I make use of this in C? Right now, I am using:
PyArg_ParseTuple(args, "(ii)(ii)", &faceId1, &vertId1, &faceId2, &vertId2) I want the to change the faceId's in my function. From what I've seen you can't do this safely with PyArg_ParseTuple. Do I have another option? Otherwise, I just have to return an extra variable. But it would be much much nicer to just have the faceId's change if the arguments passed were variables. Thanks! -- http://mail.python.org/mailman/listinfo/python-list