From 4506860be489fc2cf63914607e4dc0f397f66152 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Thu, 9 Jul 2015 16:11:55 -0500 Subject: [PATCH] Fix wrapper class ordering, to fix mis-association of methods with prefixed class names --- gen_wrap.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen_wrap.py b/gen_wrap.py index 4c02c19..97bf6d4 100644 --- a/gen_wrap.py +++ b/gen_wrap.py @@ -131,6 +131,8 @@ class Method: CLASSES = [ + # /!\ Order matters, class names that are prefixes of others should go last. + "options", "ctx", @@ -165,7 +167,7 @@ CLASSES = [ "qpolynomial", "pw_qpolynomial", "term", - "band", "schedule", "schedule_constraints", + "band", "schedule_constraints", "schedule", "schedule_node", "access_info", "flow", "restriction", -- GitLab