Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.

This commit is contained in:
Jack Jansen 2000-07-14 22:37:27 +00:00
parent 2d391f2f39
commit 74a1e63a89
44 changed files with 223 additions and 223 deletions

View file

@ -6182,7 +6182,7 @@ PyTypeObject Movie_Type = {
/* --------------------- End object type Movie ---------------------- */
#ifndef TARGET_API_MAC_CARBON
#if !TARGET_API_MAC_CARBON
static PyObject *Qt_CheckQuickTimeRegistration(_self, _args)
PyObject *_self;
@ -7575,7 +7575,7 @@ static PyObject *Qt_SpriteMediaGetActionVariable(_self, _args)
return _res;
}
#ifndef TARGET_API_MAC_CARBON
#if !TARGET_API_MAC_CARBON
static PyObject *Qt_SpriteMediaGetIndImageProperty(_self, _args)
PyObject *_self;
@ -7772,7 +7772,7 @@ static PyObject *Qt_MoviesTask(_self, _args)
static PyMethodDef Qt_methods[] = {
#ifndef TARGET_API_MAC_CARBON
#if !TARGET_API_MAC_CARBON
{"CheckQuickTimeRegistration", (PyCFunction)Qt_CheckQuickTimeRegistration, 1,
"(void * registrationKey, long flags) -> None"},
#endif
@ -7897,7 +7897,7 @@ static PyMethodDef Qt_methods[] = {
{"SpriteMediaGetActionVariable", (PyCFunction)Qt_SpriteMediaGetActionVariable, 1,
"(MediaHandler mh, QTAtomID variableID) -> (ComponentResult _rv, float value)"},
#ifndef TARGET_API_MAC_CARBON
#if !TARGET_API_MAC_CARBON
{"SpriteMediaGetIndImageProperty", (PyCFunction)Qt_SpriteMediaGetIndImageProperty, 1,
"(MediaHandler mh, short imageIndex, long imagePropertyType, void * imagePropertyValue) -> (ComponentResult _rv)"},
#endif

View file

@ -65,7 +65,7 @@ class MyScanner(Scanner):
def makegreylist(self):
return [
('#ifndef TARGET_API_MAC_CARBON', [
('#if !TARGET_API_MAC_CARBON', [
'SpriteMediaGetIndImageProperty', # XXXX Why isn't this in carbon?
'CheckQuickTimeRegistration',
])]