~pythonregexp2.7/python/issue2636-22

« back to all changes in this revision

Viewing changes to Mac/Modules/cm/_Cmmodule.c

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:36:32 UTC
  • mfrom: (39021.1.402 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609143632-wwwkx92u1t5l7yd3
Merged in changes from the latest python source snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
        return _res;
179
179
}
180
180
 
 
181
#ifndef __LP64__
181
182
static PyObject *CmpInstObj_ComponentFunctionImplemented(ComponentInstanceObject *_self, PyObject *_args)
182
183
{
183
184
        PyObject *_res = NULL;
228
229
                             _rv);
229
230
        return _res;
230
231
}
 
232
#endif /* !__LP64__*/
231
233
 
232
234
static PyMethodDef CmpInstObj_methods[] = {
233
235
        {"CloseComponent", (PyCFunction)CmpInstObj_CloseComponent, 1,
240
242
         PyDoc_STR("() -> (Handle _rv)")},
241
243
        {"SetComponentInstanceStorage", (PyCFunction)CmpInstObj_SetComponentInstanceStorage, 1,
242
244
         PyDoc_STR("(Handle theStorage) -> None")},
 
245
#ifndef __LP64__
243
246
        {"ComponentFunctionImplemented", (PyCFunction)CmpInstObj_ComponentFunctionImplemented, 1,
244
247
         PyDoc_STR("(short ftnNumber) -> (long _rv)")},
245
248
        {"GetComponentVersion", (PyCFunction)CmpInstObj_GetComponentVersion, 1,
246
249
         PyDoc_STR("() -> (long _rv)")},
247
250
        {"ComponentSetTarget", (PyCFunction)CmpInstObj_ComponentSetTarget, 1,
248
251
         PyDoc_STR("(ComponentInstance target) -> (long _rv)")},
 
252
#endif /* !__LP64__ */
249
253
        {NULL, NULL, 0}
250
254
};
251
255
 
631
635
        return _res;
632
636
}
633
637
 
 
638
#ifndef __LP64__
634
639
static PyObject *CmpObj_GetComponentIconSuite(ComponentObject *_self, PyObject *_args)
635
640
{
636
641
        PyObject *_res = NULL;
648
653
                             ResObj_New, iconSuite);
649
654
        return _res;
650
655
}
 
656
#endif /* !__LP64__ */
651
657
 
652
658
static PyMethodDef CmpObj_methods[] = {
653
659
        {"UnregisterComponent", (PyCFunction)CmpObj_UnregisterComponent, 1,
678
684
         PyDoc_STR("(Component capturingComponent) -> (Component _rv)")},
679
685
        {"UncaptureComponent", (PyCFunction)CmpObj_UncaptureComponent, 1,
680
686
         PyDoc_STR("() -> None")},
 
687
#ifndef __LP64__
681
688
        {"GetComponentIconSuite", (PyCFunction)CmpObj_GetComponentIconSuite, 1,
682
689
         PyDoc_STR("() -> (Handle iconSuite)")},
 
690
#endif /* !__LP64__ */
683
691
        {NULL, NULL, 0}
684
692
};
685
693