Skip to content

Commit

Permalink
Update generate_wrapper.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Nov 3, 2024
1 parent 81f5e83 commit 5771899
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
15 changes: 15 additions & 0 deletions gen/generate_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,18 @@ build!(ctx)

path = options["general"]["output_file_path"]
format_file(path, YASStyle())

str = read(path, String)
str =
"""
# Copyright (c) 2016: Ng Yee Sian, Miles Lubin, other contributors
#
# Use of this source code is governed by an MIT-style license that can be found
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
#!format:off
""" * str *
"""
#!format:on
"""
write(path, str)
5 changes: 0 additions & 5 deletions gen/prologue.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
# Copyright (c) 2016: Ng Yee Sian, Miles Lubin, other contributors
#
# Use of this source code is governed by an MIT-style license that can be found
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.

const DBL_MAX = Float64(0x1.fffffffffffffp+1023)

0 comments on commit 5771899

Please sign in to comment.