File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33from macsupport import *
44
5- from CarbonEventsscan import RefObjectTypes
5+ from CarbonEvtscan import RefObjectTypes
66
77# where should this go? macsupport.py?
88CFStringRef = OpaqueByValueType ('CFStringRef' )
172172for f in functions : module .add (f ) # add all the functions carboneventsgen put in the list
173173
174174for typ in RefObjectTypes : ## go thru all ObjectTypes as defined in CarbonEventsscan.py
175- methods = eval (typ + 'methods' ) ## get a reference to the method list
176- from the main namespace
175+ methods = eval (typ + 'methods' ) ## get a reference to the method list from the main namespace
177176 obj = eval (typ + 'object' ) ## get a reference to the object
178177 for m in methods : obj .add (m ) ## add each method in the list to the object
179178
227226SetOutputFileName ('_CarbonEvt.c' )
228227module .generate ()
229228
230- import os
231- os .system ("python setup.py build" )
229+ ## import os
230+ ## os.system("python setup.py build")
You can’t perform that action at this time.
0 commit comments