From 5145ba1177a03c2bbbe899fd44255b1557b4d8bc Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sat, 27 Feb 2016 00:36:39 -0600
Subject: [PATCH] Expose a few more constant enums

---
 gen_wrap.py | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/gen_wrap.py b/gen_wrap.py
index 87126a5..4ea74e6 100644
--- a/gen_wrap.py
+++ b/gen_wrap.py
@@ -296,10 +296,31 @@ ENUMS = {
         ISL_YAML_STYLE_BLOCK,
         ISL_YAML_STYLE_FLOW,
     """,
+
+    # options.h
+
+    "isl_bound": """
+        ISL_BOUND_BERNSTEIN,
+        ISL_BOUND_RANGE,
+    """,
+
+    "isl_on_error": """
+        ISL_ON_ERROR_WARN,
+        ISL_ON_ERROR_CONTINUE,
+        ISL_ON_ERROR_ABORT,
+    """,
+
+    "isl_schedule_algorithm": """
+        ISL_SCHEDULE_ALGORITHM_ISL,
+        ISL_SCHEDULE_ALGORITHM_FEAUTRIER,
+    """
     }
 
 TYPEDEFD_ENUMS = ["isl_stat", "isl_bool"]
-MACRO_ENUMS = ["isl_format", "isl_yaml_style"]
+MACRO_ENUMS = [
+        "isl_format", "isl_yaml_style",
+        "isl_bound", "isl_on_error", "isl_schedule_algorithm",
+        ]
 
 HEADER_PREAMBLE = """
 // flow.h
-- 
GitLab