mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Python - remove 2.x only code paths
This commit is contained in:
@@ -35,12 +35,7 @@ SCM scm_init_unittest_support_module (void);
|
||||
#if defined(SWIGPYTHON)
|
||||
%{
|
||||
/* avoid no previous prototype warning/error */
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
PyObject*
|
||||
#else
|
||||
void
|
||||
#endif
|
||||
SWIG_init (void);
|
||||
PyObject* SWIG_init (void);
|
||||
%}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user