Skip to content

Commit 48295c7

Browse files
authored
Add gen/prologue.jl to simplify rebuilding C API (#283)
1 parent 15041af commit 48295c7

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

gen/generate.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ library_name = "libhighs"
33
output_file_path = "src/gen/libhighs.jl"
44
print_using_CEnum = false
55
extract_c_comment_style = "doxygen"
6+
prologue_file_path = "gen/prologue.jl"

gen/prologue.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright (c) 2019 Mathieu Besançon, Oscar Dowson, and contributors
2+
#
3+
# Use of this source code is governed by an MIT-style license that can be found
4+
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
5+
6+
# Disable JuliaFormatter for this file.
7+
#!format:off

src/gen/libhighs.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Disable JuliaFormatter for this file.
77
#!format:off
88

9+
910
const HighsInt = Cint
1011

1112
"""

0 commit comments

Comments
 (0)