Skip to content

Commit

Permalink
no special order of type_* headers in generate_wrapper.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
rschwarz committed Dec 15, 2018
1 parent d84a772 commit 41c21f9
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions gen/generate_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,8 @@ using Clang
HEADER_BASE = "/usr/include" # using system-wide installation of SCIP
HEADER_DIR = "scip"
all_headers = readdir(joinpath(HEADER_BASE, HEADER_DIR))
top_types = [
"type_retcode.h",
"type_result.h",
"type_clock.h",
"type_misc.h",
"type_timing.h",
"type_paramset.h",
"type_event.h",
"type_lp.h",
"type_nlp.h",
"type_var.h",
"type_prob.h",
"type_tree.h",
"type_scip.h",
]
headers = vcat(
top_types,
filter(h -> startswith(h, "type_") && !in(h, top_types), all_headers),
filter(h -> startswith(h, "type_"), all_headers),
# filter(h -> startswith(h, "pub_"), all_headers),
filter(h -> startswith(h, "scip_"), all_headers),
)
Expand Down

0 comments on commit 41c21f9

Please sign in to comment.