Skip to content

Commit

Permalink
Drop Cstring wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Mar 26, 2024
1 parent cbe25f9 commit 011552c
Show file tree
Hide file tree
Showing 5 changed files with 142 additions and 149 deletions.
3 changes: 0 additions & 3 deletions scripts/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ function postprocess(filename)
end
# Remove the cenum block
contents = replace(contents, r"\@cenum.+?end\s+"s => "")
# Replace Ptr{Cchar} with Cstring for backward compatibility with older
# versions of Xpress.jl
contents = replace(contents, "Ptr{Cchar}" => "Cstring")
write(filename, contents)
# Add comments to any symbols which are new in the current version
lines = readlines(filename)
Expand Down
Loading

0 comments on commit 011552c

Please sign in to comment.