소스 검색

Fixed parsing SDL_ANALYZER_NORETURN

Sam Lantinga 1 년 전
부모
커밋
9cb4bb92f6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/dynapi/gendynapi.py

+ 1 - 1
src/dynapi/gendynapi.py

@@ -169,7 +169,7 @@ def main():
             func = func.replace(" SDL_WPRINTF_VARARG_FUNC(3)", "");
             func = func.replace(" SDL_WPRINTF_VARARG_FUNC(3)", "");
             func = func.replace(" SDL_SCANF_VARARG_FUNC(2)", "");
             func = func.replace(" SDL_SCANF_VARARG_FUNC(2)", "");
             func = func.replace(" SDL_SCANF_VARARG_FUNCV(2)", "");
             func = func.replace(" SDL_SCANF_VARARG_FUNCV(2)", "");
-            func = func.replace(" __attribute__((analyzer_noreturn))", "");
+            func = func.replace(" SDL_ANALYZER_NORETURN", "");
             func = func.replace(" SDL_MALLOC", "");
             func = func.replace(" SDL_MALLOC", "");
             func = func.replace(" SDL_ALLOC_SIZE2(1, 2)", "");
             func = func.replace(" SDL_ALLOC_SIZE2(1, 2)", "");
             func = func.replace(" SDL_ALLOC_SIZE(2)", "");
             func = func.replace(" SDL_ALLOC_SIZE(2)", "");