[xml-bindings]incorect PyFile_Get macro
- From: <mattam netcourrier com>
- To: xml-bindings gnome org
- Subject: [xml-bindings]incorect PyFile_Get macro
- Date: Tue, 17 Sep 2002 21:13:48 +0200
Hi!
I tried to dump a doc using xmlDoc.dump, but it didn't work
(i'm working with libxml2-2.4.23). I traced the problem to an
incorrect macro definition in libxml_wrap.h.
#define PyFile_Get(v) (((v) == Py_None) ? NULL : \
(PyFile_Check(v) ? NULL : (PyFile_AsFile(v))))
is better defined as
#define PyFile_Get(v) (((v) == Py_None) ? NULL : \
(PyFile_Check(v) ? (PyFile_AsFile(v)) : NULL))
isn't it?
P.S: cc me as i'm not subscribed.
--
"oh no, they use || and && and wtf is this >> crap! quick, run!!"-
Cyb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]