{
PyObject *_res = NULL;
GDHandle _rv;
+#ifndef GetGWorldDevice
+ PyMac_PRECHECK(GetGWorldDevice);
+#endif
if (!PyArg_ParseTuple(_args, ""))
return NULL;
_rv = GetGWorldDevice(_self->ob_itself);
{
PyObject *_res = NULL;
PixMapHandle _rv;
+#ifndef GetGWorldPixMap
+ PyMac_PRECHECK(GetGWorldPixMap);
+#endif
if (!PyArg_ParseTuple(_args, ""))
return NULL;
_rv = GetGWorldPixMap(_self->ob_itself);
{
PyObject *_res = NULL;
GrafPtr _rv;
+#ifndef as_GrafPtr
+ PyMac_PRECHECK(as_GrafPtr);
+#endif
if (!PyArg_ParseTuple(_args, ""))
return NULL;
_rv = as_GrafPtr(_self->ob_itself);
CTabHandle cTable;
GDHandle aGDevice;
GWorldFlags flags;
+#ifndef NewGWorld
+ PyMac_PRECHECK(NewGWorld);
+#endif
if (!PyArg_ParseTuple(_args, "hO&O&O&l",
&PixelDepth,
PyMac_GetRect, &boundsRect,
PyObject *_res = NULL;
Boolean _rv;
PixMapHandle pm;
+#ifndef LockPixels
+ PyMac_PRECHECK(LockPixels);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
ResObj_Convert, &pm))
return NULL;
{
PyObject *_res = NULL;
PixMapHandle pm;
+#ifndef UnlockPixels
+ PyMac_PRECHECK(UnlockPixels);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
ResObj_Convert, &pm))
return NULL;
CTabHandle cTable;
GDHandle aGDevice;
GWorldFlags flags;
+#ifndef UpdateGWorld
+ PyMac_PRECHECK(UpdateGWorld);
+#endif
if (!PyArg_ParseTuple(_args, "hO&O&O&l",
&pixelDepth,
PyMac_GetRect, &boundsRect,
PyObject *_res = NULL;
CGrafPtr port;
GDHandle gdh;
+#ifndef GetGWorld
+ PyMac_PRECHECK(GetGWorld);
+#endif
if (!PyArg_ParseTuple(_args, ""))
return NULL;
GetGWorld(&port,
PyObject *_res = NULL;
CGrafPtr port;
GDHandle gdh;
+#ifndef SetGWorld
+ PyMac_PRECHECK(SetGWorld);
+#endif
if (!PyArg_ParseTuple(_args, "O&O&",
GrafObj_Convert, &port,
OptResObj_Convert, &gdh))
{
PyObject *_res = NULL;
CTabHandle ctab;
+#ifndef CTabChanged
+ PyMac_PRECHECK(CTabChanged);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
OptResObj_Convert, &ctab))
return NULL;
{
PyObject *_res = NULL;
PixPatHandle ppat;
+#ifndef PixPatChanged
+ PyMac_PRECHECK(PixPatChanged);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
ResObj_Convert, &ppat))
return NULL;
{
PyObject *_res = NULL;
GrafPtr port;
+#ifndef PortChanged
+ PyMac_PRECHECK(PortChanged);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
GrafObj_Convert, &port))
return NULL;
{
PyObject *_res = NULL;
GDHandle gdh;
+#ifndef GDeviceChanged
+ PyMac_PRECHECK(GDeviceChanged);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
OptResObj_Convert, &gdh))
return NULL;
{
PyObject *_res = NULL;
PixMapHandle pm;
+#ifndef AllowPurgePixels
+ PyMac_PRECHECK(AllowPurgePixels);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
ResObj_Convert, &pm))
return NULL;
{
PyObject *_res = NULL;
PixMapHandle pm;
+#ifndef NoPurgePixels
+ PyMac_PRECHECK(NoPurgePixels);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
ResObj_Convert, &pm))
return NULL;
PyObject *_res = NULL;
GWorldFlags _rv;
PixMapHandle pm;
+#ifndef GetPixelsState
+ PyMac_PRECHECK(GetPixelsState);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
ResObj_Convert, &pm))
return NULL;
PyObject *_res = NULL;
PixMapHandle pm;
GWorldFlags state;
+#ifndef SetPixelsState
+ PyMac_PRECHECK(SetPixelsState);
+#endif
if (!PyArg_ParseTuple(_args, "O&l",
ResObj_Convert, &pm,
&state))
PyObject *_res = NULL;
long _rv;
PixMapHandle pm;
+#ifndef GetPixRowBytes
+ PyMac_PRECHECK(GetPixRowBytes);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
ResObj_Convert, &pm))
return NULL;
Boolean purgeable;
GDHandle gdh;
PixMapHandle offscreenPixMap;
+#ifndef NewScreenBuffer
+ PyMac_PRECHECK(NewScreenBuffer);
+#endif
if (!PyArg_ParseTuple(_args, "O&b",
PyMac_GetRect, &globalRect,
&purgeable))
{
PyObject *_res = NULL;
PixMapHandle offscreenPixMap;
+#ifndef DisposeScreenBuffer
+ PyMac_PRECHECK(DisposeScreenBuffer);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
ResObj_Convert, &offscreenPixMap))
return NULL;
PyObject *_res = NULL;
Boolean _rv;
GrafPtr port;
+#ifndef QDDone
+ PyMac_PRECHECK(QDDone);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
GrafObj_Convert, &port))
return NULL;
{
PyObject *_res = NULL;
long _rv;
+#ifndef OffscreenVersion
+ PyMac_PRECHECK(OffscreenVersion);
+#endif
if (!PyArg_ParseTuple(_args, ""))
return NULL;
_rv = OffscreenVersion();
Boolean purgeable;
GDHandle gdh;
PixMapHandle offscreenPixMap;
+#ifndef NewTempScreenBuffer
+ PyMac_PRECHECK(NewTempScreenBuffer);
+#endif
if (!PyArg_ParseTuple(_args, "O&b",
PyMac_GetRect, &globalRect,
&purgeable))
PyObject *_res = NULL;
Boolean _rv;
PixMapHandle pmHandle;
+#ifndef PixMap32Bit
+ PyMac_PRECHECK(PixMap32Bit);
+#endif
if (!PyArg_ParseTuple(_args, "O&",
ResObj_Convert, &pmHandle))
return NULL;