From c91ed400e053dc9f11dd30c84e2bb611999dce50 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 30 Dec 2002 22:29:22 +0000 Subject: SF #561244, Micro optimizations Initialize the small integers and __builtins__ in startup. This removes some if conditions. Change XDECREF to DECREF for values which shouldn't be NULL. --- Include/intobject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Include/intobject.h') diff --git a/Include/intobject.h b/Include/intobject.h index ab936b2615..50e6a73c69 100644 --- a/Include/intobject.h +++ b/Include/intobject.h @@ -30,6 +30,7 @@ PyAPI_DATA(PyTypeObject) PyInt_Type; #define PyInt_Check(op) PyObject_TypeCheck(op, &PyInt_Type) #define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type) +PyAPI_FUNC(int) PyInt_Init(void); PyAPI_FUNC(PyObject *) PyInt_FromString(char*, char**, int); #ifdef Py_USING_UNICODE PyAPI_FUNC(PyObject *) PyInt_FromUnicode(Py_UNICODE*, int, int); -- cgit v1.2.1