INNER CODE UNIT · Python
get_header_list
cadaver/turso3d · ThirdParty/SDL/src/dynapi/gendynapi.py:460
def get_header_list():
reg = re.compile(r'^.*\.h$')
ret = []
tmp = os.listdir(SDL_INCLUDE_DIR)
for f in tmp:
# Only *.h files
match = reg.match(f)
if not match:
if args.debug:
print("Skip %s" % f)
continue
ret.append(SDL_INCLUDE_DIR / f)
return ret
# Write the new API in files: _procs.h _overrivides.h and .sym
def add_dyn_api(proc):