return _res;
}
+#ifndef TARGET_API_MAC_CARBON
+
static PyObject *Evt_OSEventAvail(_self, _args)
PyObject *_self;
PyObject *_args;
PyMac_BuildEventRecord, &theEvent);
return _res;
}
+#endif
+
+#ifndef TARGET_API_MAC_CARBON
static PyObject *Evt_GetOSEvent(_self, _args)
PyObject *_self;
PyMac_BuildEventRecord, &theEvent);
return _res;
}
+#endif
static PyObject *Evt_FlushEvents(_self, _args)
PyObject *_self;
return _res;
}
+#ifndef TARGET_API_MAC_CARBON
+
static PyObject *Evt_SystemClick(_self, _args)
PyObject *_self;
PyObject *_args;
_res = Py_None;
return _res;
}
+#endif
+
+#ifndef TARGET_API_MAC_CARBON
static PyObject *Evt_SystemTask(_self, _args)
PyObject *_self;
_res = Py_None;
return _res;
}
+#endif
+
+#ifndef TARGET_API_MAC_CARBON
static PyObject *Evt_SystemEvent(_self, _args)
PyObject *_self;
_rv);
return _res;
}
+#endif
static PyObject *Evt_WaitNextEvent(_self, _args)
PyObject *_self;
"(EventMask eventMask) -> (Boolean _rv, EventRecord theEvent)"},
{"PostEvent", (PyCFunction)Evt_PostEvent, 1,
"(EventKind eventNum, UInt32 eventMsg) -> None"},
+
+#ifndef TARGET_API_MAC_CARBON
{"OSEventAvail", (PyCFunction)Evt_OSEventAvail, 1,
"(EventMask mask) -> (Boolean _rv, EventRecord theEvent)"},
+#endif
+
+#ifndef TARGET_API_MAC_CARBON
{"GetOSEvent", (PyCFunction)Evt_GetOSEvent, 1,
"(EventMask mask) -> (Boolean _rv, EventRecord theEvent)"},
+#endif
{"FlushEvents", (PyCFunction)Evt_FlushEvents, 1,
"(EventMask whichMask, EventMask stopMask) -> None"},
+
+#ifndef TARGET_API_MAC_CARBON
{"SystemClick", (PyCFunction)Evt_SystemClick, 1,
"(EventRecord theEvent, WindowPtr theWindow) -> None"},
+#endif
+
+#ifndef TARGET_API_MAC_CARBON
{"SystemTask", (PyCFunction)Evt_SystemTask, 1,
"() -> None"},
+#endif
+
+#ifndef TARGET_API_MAC_CARBON
{"SystemEvent", (PyCFunction)Evt_SystemEvent, 1,
"(EventRecord theEvent) -> (Boolean _rv)"},
+#endif
{"WaitNextEvent", (PyCFunction)Evt_WaitNextEvent, 1,
"(EventMask eventMask, UInt32 sleep [,RegionHandle]) -> (Boolean _rv, EventRecord theEvent)"},
{NULL, NULL, 0}
#define USE_CORE_TOOLBOX
#endif
extern void initApp();
-extern void initEvt();
extern void initFm();
extern void initHelp();
extern void initIcn();
extern void initAE();
extern void initCtl();
extern void initDlg();
+extern void initEvt();
extern void initMenu();
extern void initQd();
extern void initRes();
extern void initcPickle();
extern void initcStringIO();
extern void init_codecs();
+extern void init_locale();
/* -- ADDMODULE MARKER 1 -- */
extern void PyMarshal_Init();
{"AE", initAE},
{"Ctl", initCtl},
{"Dlg", initDlg},
+ {"Evt", initEvt},
{"Menu", initMenu},
{"Nav", initNav},
{"Qd", initQd},
#endif
#ifdef USE_TOOLBOX
{"App", initApp},
- {"Evt", initEvt},
{"Fm", initFm},
{"Icn", initIcn},
{"List", initList},
{"cPickle", initcPickle},
{"cStringIO", initcStringIO},
{"_codecs", init_codecs},
+ {"_locale", init_locale},
/* -- ADDMODULE MARKER 2 -- */