[Python-Dev] PyObject_New vs PyObject_NEW (original) (raw)

Martin v. L�wis martin@v.loewis.de
12 Mar 2003 22:33:50 +0100


David Abrahams <dave@boost-consulting.com> writes:

Sure, but that's only an issue if you are allocating resources in one runtime lib and deallocating in another AFAIK.

No. You also cannot pass struct FILE* from one C library to the other; file locking will then crash.

Regards, Martin