[pywin32-checkins] pywin32/win32/src win32file.i,1.40,1.41
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2004-07-02 02:37:07
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16100 Modified Files: win32file.i Log Message: Was missing FILE_ATTRIBUTE_DIRECTORY Index: win32file.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32file.i,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** win32file.i 15 Jun 2004 11:32:14 -0000 1.40 --- win32file.i 2 Jul 2004 02:36:58 -0000 1.41 *************** *** 60,63 **** --- 60,65 ---- #define FILE_ATTRIBUTE_ARCHIVE FILE_ATTRIBUTE_ARCHIVE // The file should be archived. Applications use this attribute to mark files for backup or removal. + #define FILE_ATTRIBUTE_DIRECTORY FILE_ATTRIBUTE_DIRECTORY + // The file is a directory #define FILE_ATTRIBUTE_COMPRESSED FILE_ATTRIBUTE_COMPRESSED // The file or directory is compressed. For a file, this means that all of the data in the file is compressed. For a directory, this means that compression is the default for newly created files and subdirectories. *************** *** 491,494 **** --- 493,497 ---- 0, /* tp_richcompare */ 0, /* tp_weaklistoffset */ + #if (PY_VERSION_HEX >= 0x02030000) // Iterators only in 2.3+ PyObject_SelfIter, /* tp_iter */ (iternextfunc)ffi_iternext, /* tp_iternext */ *************** *** 500,503 **** --- 503,507 ---- 0, /* tp_descr_get */ 0, /* tp_descr_set */ + #endif // PY_VERSION }; |