From d078e16236b6fb27e29c80ee82697e67a8b8ff68 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 8 Nov 2008 15:16:37 +0000 Subject: [PATCH] added PyInt_AsSsize_t (to fix build errors --- dtool/src/pystub/pystub.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dtool/src/pystub/pystub.cxx b/dtool/src/pystub/pystub.cxx index 8b38b39442..af02699cc3 100644 --- a/dtool/src/pystub/pystub.cxx +++ b/dtool/src/pystub/pystub.cxx @@ -49,6 +49,7 @@ extern "C" { EXPCL_DTOOLCONFIG int PyGILState_Ensure(...); EXPCL_DTOOLCONFIG int PyGILState_Release(...); EXPCL_DTOOLCONFIG int PyInt_AsLong(...); + EXPCL_DTOOLCONFIG int PyInt_AsSsize_t(...); EXPCL_DTOOLCONFIG int PyInt_FromLong(...); EXPCL_DTOOLCONFIG int PyInt_Type(...); EXPCL_DTOOLCONFIG int PyList_Append(...); @@ -170,6 +171,7 @@ int PyGen_Type(...) { return 0; } int PyGILState_Ensure(...) { return 0; } int PyGILState_Release(...) { return 0; } int PyInt_AsLong(...) { return 0; } +int PyInt_AsSsize_t(...) { return 0; } int PyInt_FromLong(...) { return 0; } int PyInt_Type(...) { return 0; } int PyList_Append(...) { return 0; }