From 37724120168ca281159804a8b9b8eea2e49fd454 Mon Sep 17 00:00:00 2001 From: JaDogg Date: Fri, 26 Apr 2024 07:05:31 +0100 Subject: [PATCH] fix(generate_raylib): add missing return for must prefix --- compiler/scripts/generate_raylib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/scripts/generate_raylib.py b/compiler/scripts/generate_raylib.py index 6cfdc8af..5e50247f 100755 --- a/compiler/scripts/generate_raylib.py +++ b/compiler/scripts/generate_raylib.py @@ -450,7 +450,7 @@ def get_func_data_type(typ) -> Optional[str]: elif typ in F_DT: return F_DT[typ]["t"] elif typ in S_DT_MUST_PREFIX: - PREFIX + S_DT[typ] + return PREFIX + S_DT[typ] elif typ in S_DT: return S_DT[typ] elif typ.endswith(" *") and typ[:-2] in KNOWN_STRUCTURES: