~pythonregexp2.7/python/issue2636-01

« back to all changes in this revision

Viewing changes to Mac/Modules/folder/_Foldermodule.c

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:37:21 UTC
  • mfrom: (39022.1.14 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609143721-bj0g1mwta28038da
Merged in changes from the core Regexp branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        short vRefNum;
28
28
        OSType folderType;
29
29
        Boolean createFolder;
30
 
        short foundVRefNum;
31
 
        long foundDirID;
 
30
        FSVolumeRefNum  foundVRefNum;
 
31
        SInt32 foundDirID;
32
32
        if (!PyArg_ParseTuple(_args, "hO&b",
33
33
                              &vRefNum,
34
34
                              PyMac_GetOSType, &folderType,
158
158
        return _res;
159
159
}
160
160
 
 
161
#ifndef __LP64__
161
162
static PyObject *Folder_GetFolderName(PyObject *_self, PyObject *_args)
162
163
{
163
164
        PyObject *_res = NULL;
248
249
                             flags);
249
250
        return _res;
250
251
}
 
252
#endif /* !__LP64__ */
251
253
 
252
254
static PyObject *Folder_InvalidateFolderDescriptorCache(PyObject *_self, PyObject *_args)
253
255
{
300
302
         PyDoc_STR("(UInt32 requestedTypeCount) -> (UInt32 totalTypeCount, FolderType theTypes)")},
301
303
        {"RemoveFolderDescriptor", (PyCFunction)Folder_RemoveFolderDescriptor, 1,
302
304
         PyDoc_STR("(FolderType foldType) -> None")},
 
305
#ifndef __LP64__
303
306
        {"GetFolderName", (PyCFunction)Folder_GetFolderName, 1,
304
307
         PyDoc_STR("(short vRefNum, OSType foldType, Str255 name) -> (short foundVRefNum)")},
305
308
        {"AddFolderRouting", (PyCFunction)Folder_AddFolderRouting, 1,
308
311
         PyDoc_STR("(OSType fileType, FolderType routeFromFolder) -> None")},
309
312
        {"FindFolderRouting", (PyCFunction)Folder_FindFolderRouting, 1,
310
313
         PyDoc_STR("(OSType fileType, FolderType routeFromFolder) -> (FolderType routeToFolder, RoutingFlags flags)")},
 
314
#endif /* !__LP64__ */
311
315
        {"InvalidateFolderDescriptorCache", (PyCFunction)Folder_InvalidateFolderDescriptorCache, 1,
312
316
         PyDoc_STR("(short vRefNum, long dirID) -> None")},
313
317
        {"IdentifyFolder", (PyCFunction)Folder_IdentifyFolder, 1,