Re: [Pythonmac-SIG] What are "METH_CLASS" and "METH_STATIC"?

2005-01-31 Thread Opstad, Dave
Bob, I fixed setup.py to use the extra link args and switched to CoreServices, as you suggested. That fixed the build issues. I also discovered the main problem I was having: I had forgotten the {NULL, NULL, 0, NULL} entry at the end of my array of PyMethodDefs. I hate copy-and-paste errors... T

Re: [Pythonmac-SIG] What are "METH_CLASS" and "METH_STATIC"?

2005-01-31 Thread Bob Ippolito
On Jan 31, 2005, at 15:53, Opstad, Dave wrote: I've had good luck building C-language extensions for my Python work, at least up until now. I've got a C file which #includes Carbon.h as well as the canonical Python.h. Attempting to use distutils to build it fails with the error message: ld:

[Pythonmac-SIG] What are "METH_CLASS" and "METH_STATIC"?

2005-01-31 Thread Opstad, Dave
I've had good luck building C-language extensions for my Python work, at least up until now. I've got a C file which #includes Carbon.h as well as the canonical Python.h. Attempting to use distutils to build it fails with the error message: ld: build/temp.darwin-7.7.0-Power_Macintosh-2.3/MacUtils/