Skip to content

Commit

Permalink
@wrapmodule now requires a function input, not a string
Browse files Browse the repository at this point in the history
  • Loading branch information
thchr authored and fingolfin committed Mar 19, 2024
1 parent d119cf8 commit c25edad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Normaliz.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import normaliz_jll

using CxxWrap

const libnormaliz_julia_path = joinpath(@__DIR__, "..", "deps", "src", "build", "lib", "libnormaliz_julia.$(Libdl.dlext)")
@wrapmodule(libnormaliz_julia_path, :define_module_normaliz)
get_libnormaliz_julia_path() = joinpath(@__DIR__, "..", "deps", "src", "build", "lib", "libnormaliz_julia.$(Libdl.dlext)")
@wrapmodule(get_libnormaliz_julia_path, :define_module_normaliz)

function __init__()
@initcxx
Expand Down

0 comments on commit c25edad

Please sign in to comment.