Skip to content

Commit

Permalink
fix(generate_raylib): add missing return for must prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
JaDogg committed Apr 26, 2024
1 parent 11190e5 commit 3772412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/scripts/generate_raylib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3772412

Please sign in to comment.