[Python-bugs-list] [ python-Bugs-592446 ] missing extern "C"
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 07 Aug 2002 22:51:26 -0700
Bugs item #592446, was opened at 2002-08-08 00:51
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=592446&group_id=5470
Category: None
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: David Abrahams (david_abrahams)
Assigned to: Nobody/Anonymous (nobody)
Summary: missing extern "C"
Initial Comment:
cxx: Error: ../../../libs/python/src/object/function.cpp,
line 276: #144-D a
value of type "PyObject *(*)(PyObject *, void *)
C" cannot be used
to initialize an entity of type "getter"
{"__doc__", function_get_doc, (setter)
function_set_doc},
This indicates that the typedef "getter" for the function
pointer type PyObject* (*)(PyObject*, void*) is missing
the
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endif
brackets
-Dave
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=592446&group_id=5470