return PyCObject_FromVoidPtr(%in, 0); %out = (%OUTTYPE)PyCObject_AsVoidPtr(%in);