diff options
Diffstat (limited to 'scripts/CheckMentioned.py')
-rw-r--r-- | scripts/CheckMentioned.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/CheckMentioned.py b/scripts/CheckMentioned.py index 2694b7a49..379225fe1 100644 --- a/scripts/CheckMentioned.py +++ b/scripts/CheckMentioned.py @@ -65,6 +65,8 @@ def convertIFaceTypeToC(t): return "Sci_TextToFind *" elif t == "formatrange": return "Sci_RangeToFormat *" + elif Face.IsEnumeration(t): + return "int " return t + " " def makeParm(t, n, v): @@ -86,6 +88,8 @@ def makeSig(params): retType = params["ReturnType"] if retType in ["void", "string", "stringresult"]: retType = "" + elif Face.IsEnumeration(retType): + retType = "int" if retType: retType = " → " + retType |