INNER CODE UNIT · Python

find_existing_procs

cadaver/turso3d · ThirdParty/SDL/src/dynapi/gendynapi.py:443

def find_existing_procs():
    reg = re.compile(r'SDL_DYNAPI_PROC\([^,]*,([^,]*),.*\)')
    ret = []
    input = open(SDL_DYNAPI_PROCS_H)

    for line in input:
        match = reg.match(line)
        if not match:
            continue
        existing_func = match.group(1)
        ret.append(existing_func);
        # print(existing_func)
    input.close()

    return ret

# Get list of SDL headers
def get_header_list():

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…