Skip to content

Commit

Permalink
generate wrapper for scipdefplugins.h
Browse files Browse the repository at this point in the history
  • Loading branch information
rschwarz committed Dec 16, 2018
1 parent e9282e0 commit b9d1f7c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions gen/generate_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ scip_headers = vcat(
filter(h -> startswith(h, "type_"), all_headers),
# filter(h -> startswith(h, "pub_"), all_headers),
filter(h -> startswith(h, "scip_"), all_headers),
"scipdefplugins.h"
)
lpi_headers = ["type_lpi.h"]
nlpi_headers = ["type_expr.h", "type_nlpi.h"]
Expand Down
3 changes: 3 additions & 0 deletions src/wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ include(wrap("scip_timing"))
include(wrap("scip_tree"))
include(wrap("scip_validation"))
include(wrap("scip_var"))

# default SCIP plugins
include(wrap("scipdefplugins"))
7 changes: 7 additions & 0 deletions src/wrapper/scipdefplugins.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Julia wrapper for header: /usr/include/scip/scipdefplugins.h
# Automatically generated using Clang.jl wrap_c


function SCIPincludeDefaultPlugins(scip)
ccall((:SCIPincludeDefaultPlugins, libscip), SCIP_RETCODE, (Ptr{SCIP_},), scip)
end

0 comments on commit b9d1f7c

Please sign in to comment.