Changed all (hopefully) uses of unsigned 16 bit value to use H format specifier, now that h is signed-only.
This commit is contained in:
parent
89d017d072
commit
0b13e7c153
|
@ -459,7 +459,7 @@ static PyObject *App_DrawThemeMenuBarBackground(_self, _args)
|
||||||
Rect inBounds;
|
Rect inBounds;
|
||||||
ThemeMenuBarState inState;
|
ThemeMenuBarState inState;
|
||||||
UInt32 inAttributes;
|
UInt32 inAttributes;
|
||||||
if (!PyArg_ParseTuple(_args, "O&hl",
|
if (!PyArg_ParseTuple(_args, "O&Hl",
|
||||||
PyMac_GetRect, &inBounds,
|
PyMac_GetRect, &inBounds,
|
||||||
&inState,
|
&inState,
|
||||||
&inAttributes))
|
&inAttributes))
|
||||||
|
@ -497,7 +497,7 @@ static PyObject *App_DrawThemeMenuBackground(_self, _args)
|
||||||
OSStatus _err;
|
OSStatus _err;
|
||||||
Rect inMenuRect;
|
Rect inMenuRect;
|
||||||
ThemeMenuType inMenuType;
|
ThemeMenuType inMenuType;
|
||||||
if (!PyArg_ParseTuple(_args, "O&h",
|
if (!PyArg_ParseTuple(_args, "O&H",
|
||||||
PyMac_GetRect, &inMenuRect,
|
PyMac_GetRect, &inMenuRect,
|
||||||
&inMenuType))
|
&inMenuType))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -517,7 +517,7 @@ static PyObject *App_GetThemeMenuBackgroundRegion(_self, _args)
|
||||||
OSStatus _err;
|
OSStatus _err;
|
||||||
Rect inMenuRect;
|
Rect inMenuRect;
|
||||||
ThemeMenuType menuType;
|
ThemeMenuType menuType;
|
||||||
if (!PyArg_ParseTuple(_args, "O&h",
|
if (!PyArg_ParseTuple(_args, "O&H",
|
||||||
PyMac_GetRect, &inMenuRect,
|
PyMac_GetRect, &inMenuRect,
|
||||||
&menuType))
|
&menuType))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -572,7 +572,7 @@ static PyObject *App_GetThemeMenuItemExtra(_self, _args)
|
||||||
ThemeMenuItemType inItemType;
|
ThemeMenuItemType inItemType;
|
||||||
SInt16 outHeight;
|
SInt16 outHeight;
|
||||||
SInt16 outWidth;
|
SInt16 outWidth;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&inItemType))
|
&inItemType))
|
||||||
return NULL;
|
return NULL;
|
||||||
_err = GetThemeMenuItemExtra(inItemType,
|
_err = GetThemeMenuItemExtra(inItemType,
|
||||||
|
@ -633,7 +633,7 @@ static PyObject *App_GetThemeTabRegion(_self, _args)
|
||||||
Rect inRect;
|
Rect inRect;
|
||||||
ThemeTabStyle inStyle;
|
ThemeTabStyle inStyle;
|
||||||
ThemeTabDirection inDirection;
|
ThemeTabDirection inDirection;
|
||||||
if (!PyArg_ParseTuple(_args, "O&hh",
|
if (!PyArg_ParseTuple(_args, "O&HH",
|
||||||
PyMac_GetRect, &inRect,
|
PyMac_GetRect, &inRect,
|
||||||
&inStyle,
|
&inStyle,
|
||||||
&inDirection))
|
&inDirection))
|
||||||
|
@ -696,7 +696,7 @@ static PyObject *App_GetThemeScrollBarThumbStyle(_self, _args)
|
||||||
return NULL;
|
return NULL;
|
||||||
_err = GetThemeScrollBarThumbStyle(&outStyle);
|
_err = GetThemeScrollBarThumbStyle(&outStyle);
|
||||||
if (_err != noErr) return PyMac_Error(_err);
|
if (_err != noErr) return PyMac_Error(_err);
|
||||||
_res = Py_BuildValue("h",
|
_res = Py_BuildValue("H",
|
||||||
outStyle);
|
outStyle);
|
||||||
return _res;
|
return _res;
|
||||||
}
|
}
|
||||||
|
@ -712,7 +712,7 @@ static PyObject *App_GetThemeScrollBarArrowStyle(_self, _args)
|
||||||
return NULL;
|
return NULL;
|
||||||
_err = GetThemeScrollBarArrowStyle(&outStyle);
|
_err = GetThemeScrollBarArrowStyle(&outStyle);
|
||||||
if (_err != noErr) return PyMac_Error(_err);
|
if (_err != noErr) return PyMac_Error(_err);
|
||||||
_res = Py_BuildValue("h",
|
_res = Py_BuildValue("H",
|
||||||
outStyle);
|
outStyle);
|
||||||
return _res;
|
return _res;
|
||||||
}
|
}
|
||||||
|
@ -728,7 +728,7 @@ static PyObject *App_GetThemeCheckBoxStyle(_self, _args)
|
||||||
return NULL;
|
return NULL;
|
||||||
_err = GetThemeCheckBoxStyle(&outStyle);
|
_err = GetThemeCheckBoxStyle(&outStyle);
|
||||||
if (_err != noErr) return PyMac_Error(_err);
|
if (_err != noErr) return PyMac_Error(_err);
|
||||||
_res = Py_BuildValue("h",
|
_res = Py_BuildValue("H",
|
||||||
outStyle);
|
outStyle);
|
||||||
return _res;
|
return _res;
|
||||||
}
|
}
|
||||||
|
@ -741,7 +741,7 @@ static PyObject *App_UseThemeFont(_self, _args)
|
||||||
OSStatus _err;
|
OSStatus _err;
|
||||||
ThemeFontID inFontID;
|
ThemeFontID inFontID;
|
||||||
ScriptCode inScript;
|
ScriptCode inScript;
|
||||||
if (!PyArg_ParseTuple(_args, "hh",
|
if (!PyArg_ParseTuple(_args, "Hh",
|
||||||
&inFontID,
|
&inFontID,
|
||||||
&inScript))
|
&inScript))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -853,7 +853,7 @@ static PyObject *App_DrawThemeScrollBarDelimiters(_self, _args)
|
||||||
Rect inContRect;
|
Rect inContRect;
|
||||||
ThemeDrawState state;
|
ThemeDrawState state;
|
||||||
ThemeWindowAttributes attributes;
|
ThemeWindowAttributes attributes;
|
||||||
if (!PyArg_ParseTuple(_args, "hO&ll",
|
if (!PyArg_ParseTuple(_args, "HO&ll",
|
||||||
&flavor,
|
&flavor,
|
||||||
PyMac_GetRect, &inContRect,
|
PyMac_GetRect, &inContRect,
|
||||||
&state,
|
&state,
|
||||||
|
@ -948,7 +948,7 @@ static PyObject *App_DrawThemeStandaloneGrowBox(_self, _args)
|
||||||
ThemeGrowDirection growDirection;
|
ThemeGrowDirection growDirection;
|
||||||
Boolean isSmall;
|
Boolean isSmall;
|
||||||
ThemeDrawState state;
|
ThemeDrawState state;
|
||||||
if (!PyArg_ParseTuple(_args, "O&hbl",
|
if (!PyArg_ParseTuple(_args, "O&Hbl",
|
||||||
PyMac_GetPoint, &origin,
|
PyMac_GetPoint, &origin,
|
||||||
&growDirection,
|
&growDirection,
|
||||||
&isSmall,
|
&isSmall,
|
||||||
|
@ -974,7 +974,7 @@ static PyObject *App_DrawThemeStandaloneNoGrowBox(_self, _args)
|
||||||
ThemeGrowDirection growDirection;
|
ThemeGrowDirection growDirection;
|
||||||
Boolean isSmall;
|
Boolean isSmall;
|
||||||
ThemeDrawState state;
|
ThemeDrawState state;
|
||||||
if (!PyArg_ParseTuple(_args, "O&hbl",
|
if (!PyArg_ParseTuple(_args, "O&Hbl",
|
||||||
PyMac_GetPoint, &origin,
|
PyMac_GetPoint, &origin,
|
||||||
&growDirection,
|
&growDirection,
|
||||||
&isSmall,
|
&isSmall,
|
||||||
|
@ -1000,7 +1000,7 @@ static PyObject *App_GetThemeStandaloneGrowBoxBounds(_self, _args)
|
||||||
ThemeGrowDirection growDirection;
|
ThemeGrowDirection growDirection;
|
||||||
Boolean isSmall;
|
Boolean isSmall;
|
||||||
Rect bounds;
|
Rect bounds;
|
||||||
if (!PyArg_ParseTuple(_args, "O&hb",
|
if (!PyArg_ParseTuple(_args, "O&Hb",
|
||||||
PyMac_GetPoint, &origin,
|
PyMac_GetPoint, &origin,
|
||||||
&growDirection,
|
&growDirection,
|
||||||
&isSmall))
|
&isSmall))
|
||||||
|
|
|
@ -38,30 +38,30 @@ RgnHandle = FakeType("(RgnHandle)0")
|
||||||
ThemeBrush = Type("ThemeBrush", "h")
|
ThemeBrush = Type("ThemeBrush", "h")
|
||||||
ThemeColor = Type("ThemeColor", "h")
|
ThemeColor = Type("ThemeColor", "h")
|
||||||
ThemeTextColor = Type("ThemeTextColor", "h")
|
ThemeTextColor = Type("ThemeTextColor", "h")
|
||||||
ThemeMenuBarState = Type("ThemeMenuBarState", "h")
|
ThemeMenuBarState = Type("ThemeMenuBarState", "H")
|
||||||
ThemeMenuState = Type("ThemeMenuState", "h")
|
ThemeMenuState = Type("ThemeMenuState", "H")
|
||||||
ThemeMenuType = Type("ThemeMenuType", "h")
|
ThemeMenuType = Type("ThemeMenuType", "H")
|
||||||
ThemeMenuItemType = Type("ThemeMenuItemType", "h")
|
ThemeMenuItemType = Type("ThemeMenuItemType", "H")
|
||||||
ThemeFontID = Type("ThemeFontID", "h")
|
ThemeFontID = Type("ThemeFontID", "H")
|
||||||
ThemeTabStyle = Type("ThemeTabStyle", "h")
|
ThemeTabStyle = Type("ThemeTabStyle", "H")
|
||||||
ThemeTabDirection = Type("ThemeTabDirection", "h")
|
ThemeTabDirection = Type("ThemeTabDirection", "H")
|
||||||
ThemeDrawState = Type("ThemeDrawState", "l")
|
ThemeDrawState = Type("ThemeDrawState", "l")
|
||||||
ThemeCursor = Type("ThemeCursor", "l")
|
ThemeCursor = Type("ThemeCursor", "l")
|
||||||
ThemeCheckBoxStyle = Type("ThemeCheckBoxStyle", "h")
|
ThemeCheckBoxStyle = Type("ThemeCheckBoxStyle", "H")
|
||||||
ThemeScrollBarArrowStyle = Type("ThemeScrollBarArrowStyle", "h")
|
ThemeScrollBarArrowStyle = Type("ThemeScrollBarArrowStyle", "H")
|
||||||
ThemeScrollBarThumbStyle = Type("ThemeScrollBarThumbStyle", "h")
|
ThemeScrollBarThumbStyle = Type("ThemeScrollBarThumbStyle", "H")
|
||||||
CTabHandle = OpaqueByValueType("CTabHandle", "ResObj")
|
CTabHandle = OpaqueByValueType("CTabHandle", "ResObj")
|
||||||
ThemeTrackEnableState = Type("ThemeTrackEnableState", "b")
|
ThemeTrackEnableState = Type("ThemeTrackEnableState", "b")
|
||||||
ThemeTrackPressState = Type("ThemeTrackPressState", "b")
|
ThemeTrackPressState = Type("ThemeTrackPressState", "b")
|
||||||
ThemeThumbDirection = Type("ThemeThumbDirection", "b")
|
ThemeThumbDirection = Type("ThemeThumbDirection", "b")
|
||||||
ThemeTrackAttributes = Type("ThemeTrackAttributes", "h")
|
ThemeTrackAttributes = Type("ThemeTrackAttributes", "H")
|
||||||
ControlPartCode = Type("ControlPartCode", "h")
|
ControlPartCode = Type("ControlPartCode", "h")
|
||||||
ThemeWindowAttributes = Type("ThemeWindowAttributes", "l")
|
ThemeWindowAttributes = Type("ThemeWindowAttributes", "l")
|
||||||
ThemeWindowType = Type("ThemeWindowType", "h")
|
ThemeWindowType = Type("ThemeWindowType", "H")
|
||||||
ThemeTitleBarWidget = Type("ThemeTitleBarWidget", "h")
|
ThemeTitleBarWidget = Type("ThemeTitleBarWidget", "H")
|
||||||
ThemeArrowOrientation = Type("ThemeArrowOrientation", "h")
|
ThemeArrowOrientation = Type("ThemeArrowOrientation", "H")
|
||||||
ThemePopupArrowSize = Type("ThemePopupArrowSize", "h")
|
ThemePopupArrowSize = Type("ThemePopupArrowSize", "H")
|
||||||
ThemeGrowDirection = Type("ThemeGrowDirection", "h")
|
ThemeGrowDirection = Type("ThemeGrowDirection", "H")
|
||||||
ThemeSoundKind = OSTypeType("ThemeSoundKind")
|
ThemeSoundKind = OSTypeType("ThemeSoundKind")
|
||||||
ThemeDragSoundKind = OSTypeType("ThemeDragSoundKind")
|
ThemeDragSoundKind = OSTypeType("ThemeDragSoundKind")
|
||||||
ThemeBackgroundKind = Type("ThemeBackgroundKind", "l")
|
ThemeBackgroundKind = Type("ThemeBackgroundKind", "l")
|
||||||
|
|
|
@ -377,7 +377,7 @@ static PyObject *CtlObj_DragControl(_self, _args)
|
||||||
Rect limitRect;
|
Rect limitRect;
|
||||||
Rect slopRect;
|
Rect slopRect;
|
||||||
DragConstraint axis;
|
DragConstraint axis;
|
||||||
if (!PyArg_ParseTuple(_args, "O&O&O&h",
|
if (!PyArg_ParseTuple(_args, "O&O&O&H",
|
||||||
PyMac_GetPoint, &startPoint,
|
PyMac_GetPoint, &startPoint,
|
||||||
PyMac_GetRect, &limitRect,
|
PyMac_GetRect, &limitRect,
|
||||||
PyMac_GetRect, &slopRect,
|
PyMac_GetRect, &slopRect,
|
||||||
|
@ -1080,7 +1080,7 @@ static PyObject *CtlObj_CountSubControls(_self, _args)
|
||||||
_err = CountSubControls(_self->ob_itself,
|
_err = CountSubControls(_self->ob_itself,
|
||||||
&outNumChildren);
|
&outNumChildren);
|
||||||
if (_err != noErr) return PyMac_Error(_err);
|
if (_err != noErr) return PyMac_Error(_err);
|
||||||
_res = Py_BuildValue("h",
|
_res = Py_BuildValue("H",
|
||||||
outNumChildren);
|
outNumChildren);
|
||||||
return _res;
|
return _res;
|
||||||
}
|
}
|
||||||
|
@ -1093,7 +1093,7 @@ static PyObject *CtlObj_GetIndexedSubControl(_self, _args)
|
||||||
OSErr _err;
|
OSErr _err;
|
||||||
UInt16 inIndex;
|
UInt16 inIndex;
|
||||||
ControlHandle outSubControl;
|
ControlHandle outSubControl;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&inIndex))
|
&inIndex))
|
||||||
return NULL;
|
return NULL;
|
||||||
_err = GetIndexedSubControl(_self->ob_itself,
|
_err = GetIndexedSubControl(_self->ob_itself,
|
||||||
|
|
|
@ -29,7 +29,7 @@ RgnHandle = OpaqueByValueType("RgnHandle", "ResObj")
|
||||||
CCTabHandle = OpaqueByValueType("CCTabHandle", "ResObj")
|
CCTabHandle = OpaqueByValueType("CCTabHandle", "ResObj")
|
||||||
AuxCtlHandle = OpaqueByValueType("AuxCtlHandle", "ResObj")
|
AuxCtlHandle = OpaqueByValueType("AuxCtlHandle", "ResObj")
|
||||||
ControlPartCode = Type("ControlPartCode", "h")
|
ControlPartCode = Type("ControlPartCode", "h")
|
||||||
DragConstraint = Type("DragConstraint", "h")
|
DragConstraint = Type("DragConstraint", "H")
|
||||||
ControlVariant = Type("ControlVariant", "h")
|
ControlVariant = Type("ControlVariant", "h")
|
||||||
IconTransformType = Type("IconTransformType", "h")
|
IconTransformType = Type("IconTransformType", "h")
|
||||||
ControlButtonGraphicAlignment = Type("ControlButtonGraphicAlignment", "h")
|
ControlButtonGraphicAlignment = Type("ControlButtonGraphicAlignment", "h")
|
||||||
|
|
|
@ -659,7 +659,7 @@ static PyObject *DlgObj_SetModalDialogEventMask(_self, _args)
|
||||||
PyObject *_res = NULL;
|
PyObject *_res = NULL;
|
||||||
OSStatus _err;
|
OSStatus _err;
|
||||||
EventMask inMask;
|
EventMask inMask;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&inMask))
|
&inMask))
|
||||||
return NULL;
|
return NULL;
|
||||||
_err = SetModalDialogEventMask(_self->ob_itself,
|
_err = SetModalDialogEventMask(_self->ob_itself,
|
||||||
|
@ -682,7 +682,7 @@ static PyObject *DlgObj_GetModalDialogEventMask(_self, _args)
|
||||||
_err = GetModalDialogEventMask(_self->ob_itself,
|
_err = GetModalDialogEventMask(_self->ob_itself,
|
||||||
&outMask);
|
&outMask);
|
||||||
if (_err != noErr) return PyMac_Error(_err);
|
if (_err != noErr) return PyMac_Error(_err);
|
||||||
_res = Py_BuildValue("h",
|
_res = Py_BuildValue("H",
|
||||||
outMask);
|
outMask);
|
||||||
return _res;
|
return _res;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ DialogItemType = Type("DialogItemType", "h")
|
||||||
DialogItemIndexZeroBased = Type("DialogItemIndexZeroBased", "h")
|
DialogItemIndexZeroBased = Type("DialogItemIndexZeroBased", "h")
|
||||||
AlertType = Type("AlertType", "h")
|
AlertType = Type("AlertType", "h")
|
||||||
StringPtr = Str255
|
StringPtr = Str255
|
||||||
EventMask = Type("EventMask", "h")
|
EventMask = Type("EventMask", "H")
|
||||||
|
|
||||||
includestuff = includestuff + """
|
includestuff = includestuff + """
|
||||||
#include <Dialogs.h>
|
#include <Dialogs.h>
|
||||||
|
|
|
@ -248,7 +248,7 @@ static PyObject *DragObj_CountDragItems(_self, _args)
|
||||||
_err = CountDragItems(_self->ob_itself,
|
_err = CountDragItems(_self->ob_itself,
|
||||||
&numItems);
|
&numItems);
|
||||||
if (_err != noErr) return PyMac_Error(_err);
|
if (_err != noErr) return PyMac_Error(_err);
|
||||||
_res = Py_BuildValue("h",
|
_res = Py_BuildValue("H",
|
||||||
numItems);
|
numItems);
|
||||||
return _res;
|
return _res;
|
||||||
}
|
}
|
||||||
|
@ -261,7 +261,7 @@ static PyObject *DragObj_GetDragItemReferenceNumber(_self, _args)
|
||||||
OSErr _err;
|
OSErr _err;
|
||||||
UInt16 index;
|
UInt16 index;
|
||||||
ItemReference theItemRef;
|
ItemReference theItemRef;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&index))
|
&index))
|
||||||
return NULL;
|
return NULL;
|
||||||
_err = GetDragItemReferenceNumber(_self->ob_itself,
|
_err = GetDragItemReferenceNumber(_self->ob_itself,
|
||||||
|
@ -288,7 +288,7 @@ static PyObject *DragObj_CountDragItemFlavors(_self, _args)
|
||||||
theItemRef,
|
theItemRef,
|
||||||
&numFlavors);
|
&numFlavors);
|
||||||
if (_err != noErr) return PyMac_Error(_err);
|
if (_err != noErr) return PyMac_Error(_err);
|
||||||
_res = Py_BuildValue("h",
|
_res = Py_BuildValue("H",
|
||||||
numFlavors);
|
numFlavors);
|
||||||
return _res;
|
return _res;
|
||||||
}
|
}
|
||||||
|
@ -302,7 +302,7 @@ static PyObject *DragObj_GetFlavorType(_self, _args)
|
||||||
ItemReference theItemRef;
|
ItemReference theItemRef;
|
||||||
UInt16 index;
|
UInt16 index;
|
||||||
FlavorType theType;
|
FlavorType theType;
|
||||||
if (!PyArg_ParseTuple(_args, "lh",
|
if (!PyArg_ParseTuple(_args, "lH",
|
||||||
&theItemRef,
|
&theItemRef,
|
||||||
&index))
|
&index))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -167,7 +167,7 @@ static PyObject *Evt_SetEventMask(_self, _args)
|
||||||
{
|
{
|
||||||
PyObject *_res = NULL;
|
PyObject *_res = NULL;
|
||||||
EventMask value;
|
EventMask value;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&value))
|
&value))
|
||||||
return NULL;
|
return NULL;
|
||||||
SetEventMask(value);
|
SetEventMask(value);
|
||||||
|
@ -184,7 +184,7 @@ static PyObject *Evt_GetNextEvent(_self, _args)
|
||||||
Boolean _rv;
|
Boolean _rv;
|
||||||
EventMask eventMask;
|
EventMask eventMask;
|
||||||
EventRecord theEvent;
|
EventRecord theEvent;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&eventMask))
|
&eventMask))
|
||||||
return NULL;
|
return NULL;
|
||||||
_rv = GetNextEvent(eventMask,
|
_rv = GetNextEvent(eventMask,
|
||||||
|
@ -203,7 +203,7 @@ static PyObject *Evt_EventAvail(_self, _args)
|
||||||
Boolean _rv;
|
Boolean _rv;
|
||||||
EventMask eventMask;
|
EventMask eventMask;
|
||||||
EventRecord theEvent;
|
EventRecord theEvent;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&eventMask))
|
&eventMask))
|
||||||
return NULL;
|
return NULL;
|
||||||
_rv = EventAvail(eventMask,
|
_rv = EventAvail(eventMask,
|
||||||
|
@ -222,7 +222,7 @@ static PyObject *Evt_PostEvent(_self, _args)
|
||||||
OSErr _err;
|
OSErr _err;
|
||||||
EventKind eventNum;
|
EventKind eventNum;
|
||||||
UInt32 eventMsg;
|
UInt32 eventMsg;
|
||||||
if (!PyArg_ParseTuple(_args, "hl",
|
if (!PyArg_ParseTuple(_args, "Hl",
|
||||||
&eventNum,
|
&eventNum,
|
||||||
&eventMsg))
|
&eventMsg))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -244,7 +244,7 @@ static PyObject *Evt_OSEventAvail(_self, _args)
|
||||||
Boolean _rv;
|
Boolean _rv;
|
||||||
EventMask mask;
|
EventMask mask;
|
||||||
EventRecord theEvent;
|
EventRecord theEvent;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&mask))
|
&mask))
|
||||||
return NULL;
|
return NULL;
|
||||||
_rv = OSEventAvail(mask,
|
_rv = OSEventAvail(mask,
|
||||||
|
@ -266,7 +266,7 @@ static PyObject *Evt_GetOSEvent(_self, _args)
|
||||||
Boolean _rv;
|
Boolean _rv;
|
||||||
EventMask mask;
|
EventMask mask;
|
||||||
EventRecord theEvent;
|
EventRecord theEvent;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&mask))
|
&mask))
|
||||||
return NULL;
|
return NULL;
|
||||||
_rv = GetOSEvent(mask,
|
_rv = GetOSEvent(mask,
|
||||||
|
@ -285,7 +285,7 @@ static PyObject *Evt_FlushEvents(_self, _args)
|
||||||
PyObject *_res = NULL;
|
PyObject *_res = NULL;
|
||||||
EventMask whichMask;
|
EventMask whichMask;
|
||||||
EventMask stopMask;
|
EventMask stopMask;
|
||||||
if (!PyArg_ParseTuple(_args, "hh",
|
if (!PyArg_ParseTuple(_args, "HH",
|
||||||
&whichMask,
|
&whichMask,
|
||||||
&stopMask))
|
&stopMask))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -29,10 +29,10 @@ RgnHandle = FakeType("(RgnHandle)0")
|
||||||
# RgnHandle = OpaqueByValueType("RgnHandle", "OptResObj")
|
# RgnHandle = OpaqueByValueType("RgnHandle", "OptResObj")
|
||||||
|
|
||||||
KeyMap = ArrayOutputBufferType("KeyMap")
|
KeyMap = ArrayOutputBufferType("KeyMap")
|
||||||
MacOSEventKind = Type("MacOSEventKind", "h") # Old-style
|
##MacOSEventKind = Type("MacOSEventKind", "h") # Old-style
|
||||||
MacOSEventMask = Type("MacOSEventMask", "h") # Old-style
|
##MacOSEventMask = Type("MacOSEventMask", "h") # Old-style
|
||||||
EventMask = Type("EventMask", "h")
|
EventMask = Type("EventMask", "H")
|
||||||
EventKind = Type("EventKind", "h")
|
EventKind = Type("EventKind", "H")
|
||||||
|
|
||||||
includestuff = includestuff + """
|
includestuff = includestuff + """
|
||||||
#include <%s>""" % MACHEADERFILE + """
|
#include <%s>""" % MACHEADERFILE + """
|
||||||
|
|
|
@ -148,7 +148,7 @@ static PyObject *Help_HMSetFontSize(_self, _args)
|
||||||
PyObject *_res = NULL;
|
PyObject *_res = NULL;
|
||||||
OSErr _err;
|
OSErr _err;
|
||||||
UInt16 fontSize;
|
UInt16 fontSize;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&fontSize))
|
&fontSize))
|
||||||
return NULL;
|
return NULL;
|
||||||
_err = HMSetFontSize(fontSize);
|
_err = HMSetFontSize(fontSize);
|
||||||
|
@ -185,7 +185,7 @@ static PyObject *Help_HMGetFontSize(_self, _args)
|
||||||
return NULL;
|
return NULL;
|
||||||
_err = HMGetFontSize(&fontSize);
|
_err = HMGetFontSize(&fontSize);
|
||||||
if (_err != noErr) return PyMac_Error(_err);
|
if (_err != noErr) return PyMac_Error(_err);
|
||||||
_res = Py_BuildValue("h",
|
_res = Py_BuildValue("H",
|
||||||
fontSize);
|
fontSize);
|
||||||
return _res;
|
return _res;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,10 +31,10 @@ RgnHandle = FakeType("(RgnHandle)0")
|
||||||
# RgnHandle = OpaqueByValueType("RgnHandle", "OptResObj")
|
# RgnHandle = OpaqueByValueType("RgnHandle", "OptResObj")
|
||||||
|
|
||||||
KeyMap = ArrayOutputBufferType("KeyMap")
|
KeyMap = ArrayOutputBufferType("KeyMap")
|
||||||
MacOSEventKind = Type("MacOSEventKind", "h") # Old-style
|
##MacOSEventKind = Type("MacOSEventKind", "h") # Old-style
|
||||||
MacOSEventMask = Type("MacOSEventMask", "h") # Old-style
|
##MacOSEventMask = Type("MacOSEventMask", "h") # Old-style
|
||||||
EventMask = Type("EventMask", "h")
|
EventMask = Type("EventMask", "H")
|
||||||
EventKind = Type("EventKind", "h")
|
EventKind = Type("EventKind", "H")
|
||||||
|
|
||||||
includestuff = includestuff + """
|
includestuff = includestuff + """
|
||||||
#include <%s>""" % MACHEADERFILE + """
|
#include <%s>""" % MACHEADERFILE + """
|
||||||
|
|
|
@ -10,7 +10,7 @@ from macsupport import *
|
||||||
HRReference = OpaqueByValueType("HRReference", "HtmlObj")
|
HRReference = OpaqueByValueType("HRReference", "HtmlObj")
|
||||||
|
|
||||||
HRScrollbarState = Type("HRScrollbarState", "h")
|
HRScrollbarState = Type("HRScrollbarState", "h")
|
||||||
URLSourceType = Type("URLSourceType", "h")
|
URLSourceType = Type("URLSourceType", "H")
|
||||||
GrafPtr = OpaqueByValueType("GrafPtr", "GrafObj")
|
GrafPtr = OpaqueByValueType("GrafPtr", "GrafObj")
|
||||||
RgnHandle = OpaqueByValueType("RgnHandle", "ResObj")
|
RgnHandle = OpaqueByValueType("RgnHandle", "ResObj")
|
||||||
char_ptr = Type("char *", "s")
|
char_ptr = Type("char *", "s")
|
||||||
|
|
|
@ -746,7 +746,7 @@ static PyObject *Icn_GetIconRefOwners(_self, _args)
|
||||||
_err = GetIconRefOwners(theIconRef,
|
_err = GetIconRefOwners(theIconRef,
|
||||||
&owners);
|
&owners);
|
||||||
if (_err != noErr) return PyMac_Error(_err);
|
if (_err != noErr) return PyMac_Error(_err);
|
||||||
_res = Py_BuildValue("h",
|
_res = Py_BuildValue("H",
|
||||||
owners);
|
owners);
|
||||||
return _res;
|
return _res;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,8 +42,8 @@ RGBColor = OpaqueType("RGBColor", "QdRGB")
|
||||||
# KeyMap = ArrayOutputBufferType("KeyMap")
|
# KeyMap = ArrayOutputBufferType("KeyMap")
|
||||||
#MacOSEventKind = Type("MacOSEventKind", "h") # Old-style
|
#MacOSEventKind = Type("MacOSEventKind", "h") # Old-style
|
||||||
#MacOSEventMask = Type("MacOSEventMask", "h") # Old-style
|
#MacOSEventMask = Type("MacOSEventMask", "h") # Old-style
|
||||||
#EventMask = Type("EventMask", "h")
|
#EventMask = Type("EventMask", "H")
|
||||||
#EventKind = Type("EventKind", "h")
|
#EventKind = Type("EventKind", "H")
|
||||||
|
|
||||||
includestuff = includestuff + """
|
includestuff = includestuff + """
|
||||||
#include <%s>""" % MACHEADERFILE + """
|
#include <%s>""" % MACHEADERFILE + """
|
||||||
|
|
|
@ -164,6 +164,7 @@ extern void init_locale();
|
||||||
#ifdef USE_UCNHASH
|
#ifdef USE_UCNHASH
|
||||||
extern void initucnhash();
|
extern void initucnhash();
|
||||||
#endif
|
#endif
|
||||||
|
extern void init_sre();
|
||||||
/* -- ADDMODULE MARKER 1 -- */
|
/* -- ADDMODULE MARKER 1 -- */
|
||||||
|
|
||||||
extern void PyMarshal_Init();
|
extern void PyMarshal_Init();
|
||||||
|
@ -281,7 +282,7 @@ struct _inittab _PyImport_Inittab[] = {
|
||||||
#ifdef USE_UCNHASH
|
#ifdef USE_UCNHASH
|
||||||
{"ucnhash", initucnhash},
|
{"ucnhash", initucnhash},
|
||||||
#endif
|
#endif
|
||||||
|
{"_sre", init_sre},
|
||||||
/* -- ADDMODULE MARKER 2 -- */
|
/* -- ADDMODULE MARKER 2 -- */
|
||||||
|
|
||||||
/* This module "lives in" with marshal.c */
|
/* This module "lives in" with marshal.c */
|
||||||
|
|
|
@ -881,7 +881,7 @@ mfs_FindFolder(self, args)
|
||||||
short refnum;
|
short refnum;
|
||||||
long dirid;
|
long dirid;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "hO&i", &where, PyMac_GetOSType, &which, &create) )
|
if (!PyArg_ParseTuple(args, "HO&i", &where, PyMac_GetOSType, &which, &create) )
|
||||||
return NULL;
|
return NULL;
|
||||||
err = FindFolder(where, which, (Boolean)create, &refnum, &dirid);
|
err = FindFolder(where, which, (Boolean)create, &refnum, &dirid);
|
||||||
if ( err ) {
|
if ( err ) {
|
||||||
|
|
|
@ -149,7 +149,7 @@ static PyObject *MenuObj_GetMenuFont(_self, _args)
|
||||||
&outFontID,
|
&outFontID,
|
||||||
&outFontSize);
|
&outFontSize);
|
||||||
if (_err != noErr) return PyMac_Error(_err);
|
if (_err != noErr) return PyMac_Error(_err);
|
||||||
_res = Py_BuildValue("hh",
|
_res = Py_BuildValue("hH",
|
||||||
outFontID,
|
outFontID,
|
||||||
outFontSize);
|
outFontSize);
|
||||||
return _res;
|
return _res;
|
||||||
|
@ -163,7 +163,7 @@ static PyObject *MenuObj_SetMenuFont(_self, _args)
|
||||||
OSStatus _err;
|
OSStatus _err;
|
||||||
SInt16 inFontID;
|
SInt16 inFontID;
|
||||||
UInt16 inFontSize;
|
UInt16 inFontSize;
|
||||||
if (!PyArg_ParseTuple(_args, "hh",
|
if (!PyArg_ParseTuple(_args, "hH",
|
||||||
&inFontID,
|
&inFontID,
|
||||||
&inFontSize))
|
&inFontSize))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -361,7 +361,7 @@ static PyObject *MenuObj_InsertMenuItemText(_self, _args)
|
||||||
OSStatus _err;
|
OSStatus _err;
|
||||||
Str255 inString;
|
Str255 inString;
|
||||||
UInt16 afterItem;
|
UInt16 afterItem;
|
||||||
if (!PyArg_ParseTuple(_args, "O&h",
|
if (!PyArg_ParseTuple(_args, "O&H",
|
||||||
PyMac_GetStr255, inString,
|
PyMac_GetStr255, inString,
|
||||||
&afterItem))
|
&afterItem))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -1045,7 +1045,7 @@ static PyObject *MenuObj_MacEnableMenuItem(_self, _args)
|
||||||
{
|
{
|
||||||
PyObject *_res = NULL;
|
PyObject *_res = NULL;
|
||||||
UInt16 item;
|
UInt16 item;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&item))
|
&item))
|
||||||
return NULL;
|
return NULL;
|
||||||
MacEnableMenuItem(_self->ob_itself,
|
MacEnableMenuItem(_self->ob_itself,
|
||||||
|
@ -1061,7 +1061,7 @@ static PyObject *MenuObj_DisableMenuItem(_self, _args)
|
||||||
{
|
{
|
||||||
PyObject *_res = NULL;
|
PyObject *_res = NULL;
|
||||||
UInt16 item;
|
UInt16 item;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&item))
|
&item))
|
||||||
return NULL;
|
return NULL;
|
||||||
DisableMenuItem(_self->ob_itself,
|
DisableMenuItem(_self->ob_itself,
|
||||||
|
@ -1078,7 +1078,7 @@ static PyObject *MenuObj_IsMenuItemEnabled(_self, _args)
|
||||||
PyObject *_res = NULL;
|
PyObject *_res = NULL;
|
||||||
Boolean _rv;
|
Boolean _rv;
|
||||||
UInt16 item;
|
UInt16 item;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&item))
|
&item))
|
||||||
return NULL;
|
return NULL;
|
||||||
_rv = IsMenuItemEnabled(_self->ob_itself,
|
_rv = IsMenuItemEnabled(_self->ob_itself,
|
||||||
|
@ -1094,7 +1094,7 @@ static PyObject *MenuObj_EnableMenuItemIcon(_self, _args)
|
||||||
{
|
{
|
||||||
PyObject *_res = NULL;
|
PyObject *_res = NULL;
|
||||||
UInt16 item;
|
UInt16 item;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&item))
|
&item))
|
||||||
return NULL;
|
return NULL;
|
||||||
EnableMenuItemIcon(_self->ob_itself,
|
EnableMenuItemIcon(_self->ob_itself,
|
||||||
|
@ -1110,7 +1110,7 @@ static PyObject *MenuObj_DisableMenuItemIcon(_self, _args)
|
||||||
{
|
{
|
||||||
PyObject *_res = NULL;
|
PyObject *_res = NULL;
|
||||||
UInt16 item;
|
UInt16 item;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&item))
|
&item))
|
||||||
return NULL;
|
return NULL;
|
||||||
DisableMenuItemIcon(_self->ob_itself,
|
DisableMenuItemIcon(_self->ob_itself,
|
||||||
|
@ -1127,7 +1127,7 @@ static PyObject *MenuObj_IsMenuItemIconEnabled(_self, _args)
|
||||||
PyObject *_res = NULL;
|
PyObject *_res = NULL;
|
||||||
Boolean _rv;
|
Boolean _rv;
|
||||||
UInt16 item;
|
UInt16 item;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
&item))
|
&item))
|
||||||
return NULL;
|
return NULL;
|
||||||
_rv = IsMenuItemIconEnabled(_self->ob_itself,
|
_rv = IsMenuItemIconEnabled(_self->ob_itself,
|
||||||
|
|
|
@ -129,10 +129,10 @@ TimeRecord_ptr = TimeRecord
|
||||||
TimeValue = Type("TimeValue", "l")
|
TimeValue = Type("TimeValue", "l")
|
||||||
TimeScale = Type("TimeScale", "l")
|
TimeScale = Type("TimeScale", "l")
|
||||||
TimeBaseFlags = Type("TimeBaseFlags", "l")
|
TimeBaseFlags = Type("TimeBaseFlags", "l")
|
||||||
QTCallBackFlags = Type("QTCallBackFlags", "h")
|
QTCallBackFlags = Type("QTCallBackFlags", "H")
|
||||||
TimeBaseStatus = Type("TimeBaseStatus", "l")
|
TimeBaseStatus = Type("TimeBaseStatus", "l")
|
||||||
QTCallBackType = Type("QTCallBackType", "h")
|
QTCallBackType = Type("QTCallBackType", "H")
|
||||||
nextTimeFlagsEnum = Type("nextTimeFlagsEnum", "h")
|
nextTimeFlagsEnum = Type("nextTimeFlagsEnum", "H")
|
||||||
createMovieFileFlagsEnum = Type("createMovieFileFlagsEnum", "l")
|
createMovieFileFlagsEnum = Type("createMovieFileFlagsEnum", "l")
|
||||||
movieFlattenFlagsEnum = Type("movieFlattenFlagsEnum", "l")
|
movieFlattenFlagsEnum = Type("movieFlattenFlagsEnum", "l")
|
||||||
dataRefAttributesFlags = Type("dataRefAttributesFlags", "l")
|
dataRefAttributesFlags = Type("dataRefAttributesFlags", "l")
|
||||||
|
|
|
@ -70,9 +70,9 @@ SndCmd_Convert(PyObject *v, SndCommand *pc)
|
||||||
if (PyArg_ParseTuple(v, "h|hl", &pc->cmd, &pc->param1, &pc->param2))
|
if (PyArg_ParseTuple(v, "h|hl", &pc->cmd, &pc->param1, &pc->param2))
|
||||||
return 1;
|
return 1;
|
||||||
PyErr_Clear();
|
PyErr_Clear();
|
||||||
return PyArg_ParseTuple(v, "hhs#", &pc->cmd, &pc->param1, &pc->param2, &len);
|
return PyArg_ParseTuple(v, "Hhs#", &pc->cmd, &pc->param1, &pc->param2, &len);
|
||||||
}
|
}
|
||||||
return PyArg_Parse(v, "h", &pc->cmd);
|
return PyArg_Parse(v, "H", &pc->cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
static pascal void SndCh_UserRoutine(SndChannelPtr chan, SndCommand *cmd); /* Forward */
|
static pascal void SndCh_UserRoutine(SndChannelPtr chan, SndCommand *cmd); /* Forward */
|
||||||
|
|
|
@ -116,9 +116,9 @@ SndCmd_Convert(PyObject *v, SndCommand *pc)
|
||||||
if (PyArg_ParseTuple(v, "h|hl", &pc->cmd, &pc->param1, &pc->param2))
|
if (PyArg_ParseTuple(v, "h|hl", &pc->cmd, &pc->param1, &pc->param2))
|
||||||
return 1;
|
return 1;
|
||||||
PyErr_Clear();
|
PyErr_Clear();
|
||||||
return PyArg_ParseTuple(v, "hhs#", &pc->cmd, &pc->param1, &pc->param2, &len);
|
return PyArg_ParseTuple(v, "Hhs#", &pc->cmd, &pc->param1, &pc->param2, &len);
|
||||||
}
|
}
|
||||||
return PyArg_Parse(v, "h", &pc->cmd);
|
return PyArg_Parse(v, "H", &pc->cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
static pascal void SndCh_UserRoutine(SndChannelPtr chan, SndCommand *cmd); /* Forward */
|
static pascal void SndCh_UserRoutine(SndChannelPtr chan, SndCommand *cmd); /* Forward */
|
||||||
|
|
|
@ -27,7 +27,7 @@ ExistingWEReference = OpaqueByValueType("WEReference", "ExistingwasteObj")
|
||||||
WEObjectReference = OpaqueByValueType("WEObjectReference", "WEOObj")
|
WEObjectReference = OpaqueByValueType("WEObjectReference", "WEOObj")
|
||||||
StScrpHandle = OpaqueByValueType("StScrpHandle", "ResObj")
|
StScrpHandle = OpaqueByValueType("StScrpHandle", "ResObj")
|
||||||
RgnHandle = OpaqueByValueType("RgnHandle", "ResObj")
|
RgnHandle = OpaqueByValueType("RgnHandle", "ResObj")
|
||||||
EventModifiers = Type("EventModifiers", "h")
|
EventModifiers = Type("EventModifiers", "H")
|
||||||
FlavorType = OSTypeType("FlavorType")
|
FlavorType = OSTypeType("FlavorType")
|
||||||
WESelector = OSTypeType("WESelector")
|
WESelector = OSTypeType("WESelector")
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ OptHandle = OpaqueByValueType("Handle", "OptResObj")
|
||||||
OptSoupHandle = OpaqueByValueType("WESoupHandle", "OptResObj")
|
OptSoupHandle = OpaqueByValueType("WESoupHandle", "OptResObj")
|
||||||
OptStScrpHandle = OpaqueByValueType("StScrpHandle", "OptResObj")
|
OptStScrpHandle = OpaqueByValueType("StScrpHandle", "OptResObj")
|
||||||
|
|
||||||
WEStyleMode = Type("WEStyleMode", "h")
|
WEStyleMode = Type("WEStyleMode", "H")
|
||||||
WEActionKind = Type("WEActionKind", "h")
|
WEActionKind = Type("WEActionKind", "h")
|
||||||
WEAlignment = Type("WEAlignment", "b")
|
WEAlignment = Type("WEAlignment", "b")
|
||||||
WEEdge = Type("WEEdge", "b")
|
WEEdge = Type("WEEdge", "b")
|
||||||
|
|
|
@ -525,7 +525,7 @@ static PyObject *WinObj_GetWindowRegion(_self, _args)
|
||||||
OSStatus _err;
|
OSStatus _err;
|
||||||
WindowRegionCode inRegionCode;
|
WindowRegionCode inRegionCode;
|
||||||
RgnHandle ioWinRgn;
|
RgnHandle ioWinRgn;
|
||||||
if (!PyArg_ParseTuple(_args, "hO&",
|
if (!PyArg_ParseTuple(_args, "HO&",
|
||||||
&inRegionCode,
|
&inRegionCode,
|
||||||
ResObj_Convert, &ioWinRgn))
|
ResObj_Convert, &ioWinRgn))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -1110,7 +1110,7 @@ static PyObject *WinObj_SetWindowBounds(_self, _args)
|
||||||
OSStatus _err;
|
OSStatus _err;
|
||||||
WindowRegionCode regionCode;
|
WindowRegionCode regionCode;
|
||||||
Rect globalBounds;
|
Rect globalBounds;
|
||||||
if (!PyArg_ParseTuple(_args, "hO&",
|
if (!PyArg_ParseTuple(_args, "HO&",
|
||||||
®ionCode,
|
®ionCode,
|
||||||
PyMac_GetRect, &globalBounds))
|
PyMac_GetRect, &globalBounds))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -1131,7 +1131,7 @@ static PyObject *WinObj_GetWindowBounds(_self, _args)
|
||||||
OSStatus _err;
|
OSStatus _err;
|
||||||
WindowRegionCode regionCode;
|
WindowRegionCode regionCode;
|
||||||
Rect globalBounds;
|
Rect globalBounds;
|
||||||
if (!PyArg_ParseTuple(_args, "h",
|
if (!PyArg_ParseTuple(_args, "H",
|
||||||
®ionCode))
|
®ionCode))
|
||||||
return NULL;
|
return NULL;
|
||||||
_err = GetWindowBounds(_self->ob_itself,
|
_err = GetWindowBounds(_self->ob_itself,
|
||||||
|
|
|
@ -37,13 +37,12 @@ PixPatHandle = OpaqueByValueType("PixPatHandle", "ResObj")
|
||||||
AliasHandle = OpaqueByValueType("AliasHandle", "ResObj")
|
AliasHandle = OpaqueByValueType("AliasHandle", "ResObj")
|
||||||
IconRef = OpaqueByValueType("IconRef", "ResObj")
|
IconRef = OpaqueByValueType("IconRef", "ResObj")
|
||||||
|
|
||||||
WindowRegionCode = Type("WindowRegionCode", "h")
|
WindowRegionCode = Type("WindowRegionCode", "H")
|
||||||
WindowClass = Type("WindowClass", "l")
|
WindowClass = Type("WindowClass", "l")
|
||||||
WindowAttributes = Type("WindowAttributes", "l")
|
WindowAttributes = Type("WindowAttributes", "l")
|
||||||
WindowPositionMethod = Type("WindowPositionMethod", "l")
|
WindowPositionMethod = Type("WindowPositionMethod", "l")
|
||||||
WindowTransitionEffect = Type("WindowTransitionEffect", "l")
|
WindowTransitionEffect = Type("WindowTransitionEffect", "l")
|
||||||
WindowTransitionAction = Type("WindowTransitionAction", "l")
|
WindowTransitionAction = Type("WindowTransitionAction", "l")
|
||||||
WindowRegionCode = Type("WindowRegionCode", "h")
|
|
||||||
RGBColor = OpaqueType("RGBColor", "QdRGB")
|
RGBColor = OpaqueType("RGBColor", "QdRGB")
|
||||||
PropertyCreator = OSTypeType("PropertyCreator")
|
PropertyCreator = OSTypeType("PropertyCreator")
|
||||||
PropertyTag = OSTypeType("PropertyTag")
|
PropertyTag = OSTypeType("PropertyTag")
|
||||||
|
|
Loading…
Reference in New Issue