[pywin32-checkins] pywin32/win32/src dbi.h,1.2,1.3
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2004-07-13 05:03:42
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26525 Modified Files: dbi.h Log Message: [ 956244 ] platform portability patch for dbi.h Index: dbi.h =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/dbi.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** dbi.h 18 Jun 2001 06:57:21 -0000 1.2 --- dbi.h 13 Jul 2004 05:03:30 -0000 1.3 *************** *** 12,43 **** #define DBI_H ! #ifdef DBI_EXPORT ! #define CALLCONV(RTYPE) __declspec(dllexport) RTYPE ! #else ! #define CALLCONV(RTYPE) __declspec(dllimport) RTYPE ! #endif ! ! CALLCONV(int) dbiIsDate(const PyObject *o); ! CALLCONV(int) dbiIsRaw(const PyObject *o); ! CALLCONV(int) dbiIsRowId(const PyObject *o); /* These do not INCREF */ ! CALLCONV(PyObject) *dbiValue(PyObject *o); ! CALLCONV(PyObject) *dbiMakeDate(PyObject *contents); ! CALLCONV(PyObject) *dbiMakeRaw(PyObject *contents); ! CALLCONV(PyObject) *dbiMakeRowId(PyObject *contents); ! CALLCONV(PyObject)*DbiString; ! CALLCONV(PyObject)*DbiRaw; ! CALLCONV(PyObject)*DbiRowId; ! CALLCONV(PyObject)*DbiNumber; ! CALLCONV(PyObject)*DbiDate; ! CALLCONV(PyObject)*DbiNoError; ! CALLCONV(PyObject)*DbiOpError; ! CALLCONV(PyObject)*DbiProgError; ! CALLCONV(PyObject)*DbiIntegrityError; ! CALLCONV(PyObject)*DbiDataError; ! CALLCONV(PyObject)*DbiInternalError; --- 12,37 ---- #define DBI_H ! PyAPI_FUNC(int) dbiIsDate(const PyObject *o); ! PyAPI_FUNC(int) dbiIsRaw(const PyObject *o); ! PyAPI_FUNC(int) dbiIsRowId(const PyObject *o); /* These do not INCREF */ ! PyAPI_FUNC(PyObject) *dbiValue(PyObject *o); ! PyAPI_FUNC(PyObject) *dbiMakeDate(PyObject *contents); ! PyAPI_FUNC(PyObject) *dbiMakeRaw(PyObject *contents); ! PyAPI_FUNC(PyObject) *dbiMakeRowId(PyObject *contents); ! PyAPI_FUNC(PyObject)*DbiString; ! PyAPI_FUNC(PyObject)*DbiRaw; ! PyAPI_FUNC(PyObject)*DbiRowId; ! PyAPI_FUNC(PyObject)*DbiNumber; ! PyAPI_FUNC(PyObject)*DbiDate; ! PyAPI_FUNC(PyObject)*DbiNoError; ! PyAPI_FUNC(PyObject)*DbiOpError; ! PyAPI_FUNC(PyObject)*DbiProgError; ! PyAPI_FUNC(PyObject)*DbiIntegrityError; ! PyAPI_FUNC(PyObject)*DbiDataError; ! PyAPI_FUNC(PyObject)*DbiInternalError; |