1 # Methods that are missing in Carbon.
2 # This module is mainly for documentation purposes, but you could use
3 # it to automatically search for usage of methods that are missing.
8 'ICFindUserConfigFile',
26 'GetWindowDataHandle',
32 'InitFloatingWindows',
35 'ValidRgn', # Use versions with Window in their name
39 'IsValidWindowPtr', # I think this is useless for Python, but not sure...
40 'GetWindowZoomFlag', # Not available in Carbon
41 'GetWindowTitleWidth', # Ditto
67 'SpriteMediaGetIndImageProperty', # XXXX Why isn't this in carbon?
68 'CheckQuickTimeRegistration',
69 'SetMovieAnchorDataRef',
70 'GetMovieAnchorDataRef',
73 'MovieMediaGetCurrentMovieProperty',
74 'MovieMediaGetCurrentTrackProperty',
75 'MovieMediaGetChildMovieDataReference',
76 'MovieMediaSetChildMovieDataReference',
77 'MovieMediaLoadChildMovieFromDataReference',
78 'Media3DGetViewObject',
82 ## 'device', # Too many false positives
112 'IconServicesTerminate',
130 'SetGrafPortOfDialog',
134 'GetAuxiliaryControlRecord',
139 'SetComponentInstanceA5',
140 'GetComponentInstanceA5',
155 if name
[:8] == 'missing_':
156 missing
= missing
+ eval(name
)
160 # Warning: this function only works on Unix
162 re
= string
.join(missing
, '|')
163 re
= """[^a-zA-Z0-9_'"](%s)[^a-zA-Z0-9_'"]""" % re
164 os
.system("find . -name '*.py' -print | xargs egrep '%s'"%re)
166 if __name__
== '__main__':