Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Mar 26, 2024
1 parent f5df6ee commit 646381c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 39 deletions.
4 changes: 4 additions & 0 deletions scripts/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ function postprocess(filename)
# For backwards compatibility, older versions of Xpress.jl used UInt8
# instead of Cchar.
contents = replace(contents, "Cchar" => "UInt8")
# For backwards compatibility, older versions of Xpress.jl used Cint
# instead of Clong.
# TODO(odow): this is wrong. Fix me in a separate PR.
contents = replace(contents, "Clong" => "Cint")
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 646381c

Please sign in to comment.