You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This may not be the best, but at least it lets you get the raw data back into python as a string. You'll have to cut it up yourself and parse the result.
293
+
294
+
geteventparameter="""
295
+
UInt32 bufferSize;
296
+
EventParamName inName;
297
+
EventParamType inType;
298
+
OSErr _err;
299
+
void * buffer;
300
+
301
+
if (!PyArg_ParseTuple(_args, "O&O&", PyMac_GetOSType, &inName, PyMac_GetOSType, &inType))
302
+
return NULL;
303
+
304
+
/* Figure out the size by passing a null buffer to GetEventParameter */
0 commit comments