C
Christian Seberino
I successfuly created some toy C extensions that compiled and
ran without bugs with arguments that consisted of strings and numbers.
python.org docs seem to suggest that sending in lists and tuples
was as simple as changing string in PyArg_ParseTuple to contain
parens or brackets....
e.g.
"ii" ==> "(ii)" or "[ii]"
I tried this many times and always never got PyArg_ParseTuple to
successfully work with new version.
a should be 3 and b should be 4!!!
Chris
ran without bugs with arguments that consisted of strings and numbers.
python.org docs seem to suggest that sending in lists and tuples
was as simple as changing string in PyArg_ParseTuple to contain
parens or brackets....
e.g.
"ii" ==> "(ii)" or "[ii]"
I tried this many times and always never got PyArg_ParseTuple to
successfully work with new version.
a=1108554272, b=1107769229import mymodule2
mymodule2.test([3,4])
a should be 3 and b should be 4!!!
Chris