소스 검색

Merge pull request #1555 from raulsntos/fix-r1722784216

Avoid hardcoded type conversion for metadata
David Snopek 1 년 전
부모
커밋
62305943a7
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      binding_generator.py

+ 0 - 2
binding_generator.py

@@ -2770,8 +2770,6 @@ def correct_type(type_name, meta=None, use_alias=True):
     if meta is not None:
         if "int" in meta:
             return f"{meta}_t"
-        elif meta in type_conversion:
-            return type_conversion[type_name]
         else:
             return meta
     if type_name in type_conversion: