INNER CODE UNIT · Python

check_comment

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

def check_comment():

    check_comment_header.done = False

    # Check \param
    for i in full_API:
        comment = i['comment']
        name = i['name']
        retval = i['retval']
        header = i['header']

        expected = len(i['parameter'])
        if expected == 1:
            if i['parameter'][0] == 'void':
                expected = 0;
        count = comment.count("\\param")
        if count != expected:
            # skip SDL_stdinc.h

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…