ANSIfications: fix empty arglists, and remove the checks for

'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
This commit is contained in:
Thomas Wouters 2000-07-22 23:30:03 +00:00
parent 7889010731
commit 5f37591a16
6 changed files with 3 additions and 34 deletions

View file

@ -16,8 +16,6 @@ extern "C" {
/* Module support interface */
#ifdef HAVE_STDARG_PROTOTYPES
#include <stdarg.h>
extern DL_IMPORT(int) PyArg_Parse(PyObject *, char *, ...);
@ -26,17 +24,6 @@ extern DL_IMPORT(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
char *, char **, ...);
extern DL_IMPORT(PyObject *) Py_BuildValue(char *, ...);
#else
#include <varargs.h>
/* Better to have no prototypes at all for varargs functions in this case */
extern DL_IMPORT(int) PyArg_Parse();
extern DL_IMPORT(int) PyArg_ParseTuple();
extern DL_IMPORT(PyObject *) Py_BuildValue();
#endif
extern DL_IMPORT(int) PyArg_VaParse(PyObject *, char *, va_list);
extern DL_IMPORT(PyObject *) Py_VaBuildValue(char *, va_list);