~pythonregexp2.7/python/issue2636-12

« back to all changes in this revision

Viewing changes to Mac/Modules/launch/_Launchmodule.c

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:52:42 UTC
  • mfrom: (39033.1.3 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609145242-9m268zc6u87rp1vp
Merged in changes from the core Regexp branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
PyObject *
51
51
LSItemInfoRecord_New(LSItemInfoRecord *it)
52
52
{
 
53
#ifndef __LP64__
53
54
        return Py_BuildValue("{s:is:O&s:O&s:O&s:O&s:i}",
54
55
                "flags", it->flags,
55
56
                "filetype", PyMac_BuildOSType, it->filetype,
57
58
                "extension", OptCFStringRefObj_New, it->extension,
58
59
                "iconFileName", OptCFStringRefObj_New, it->iconFileName,
59
60
                "kindID", it->kindID);
 
61
#else
 
62
        return Py_BuildValue("{s:is:O&s:O&s:O&}",
 
63
                "flags", it->flags,
 
64
                "filetype", PyMac_BuildOSType, it->filetype,
 
65
                "creator", PyMac_BuildOSType, it->creator,
 
66
                "extension", OptCFStringRefObj_New, it->extension);
 
67
#endif
60
68
}
61
69
 
62
70
static PyObject *Launch_Error;