Changeset 211 for trunk/StreamVision/HotKeymodule.c
- Timestamp:
- 01/29/06 22:59:56 (18 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/StreamVision/HotKeymodule.c
r193 r211 13 13 14 14 static PyObject 15 * StreamVision_HotKeyAddress(PyObject *self, PyObject *args) {15 *HotKey_HotKeyAddress(PyObject *self, PyObject *args) { 16 16 PyObject *v; 17 17 if (!PyArg_ParseTuple(args, "O", &v)) … … 24 24 } 25 25 26 static PyMethodDef _StreamVisionmodule_methods[] = {27 {"HotKeyAddress", StreamVision_HotKeyAddress, METH_VARARGS,26 static PyMethodDef HotKeymodule_methods[] = { 27 {"HotKeyAddress", HotKey_HotKeyAddress, METH_VARARGS, 28 28 "HotKeyAddress(_CarbonEvt.EventHotKeyRef) -> integer\n\n" 29 29 "Return the address of the underlying EventHotKeyRef (passed as data1 in hot key NSEvents)."}, … … 32 32 33 33 PyMODINIT_FUNC 34 init _StreamVision(void) {35 (void)Py_InitModule(" _StreamVision", _StreamVisionmodule_methods);34 initHotKey(void) { 35 (void)Py_InitModule("HotKey", HotKeymodule_methods); 36 36 }
Note:
See TracChangeset
for help on using the changeset viewer.