Skip to content

Commit

Permalink
make constants const
Browse files Browse the repository at this point in the history
  • Loading branch information
jwahlstrand committed Oct 10, 2023
1 parent 48f086d commit 2d041ab
Show file tree
Hide file tree
Showing 7 changed files with 2,638 additions and 2,638 deletions.
2 changes: 1 addition & 1 deletion GI/src/giimport.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# use libgirepository to produce Julia declarations and methods

const_expr(name,val) = :($(Symbol(name)) = $(val))
const_expr(name,val) = :(const $(Symbol(name)) = $(val))

# export enum using a baremodule, as is done in Gtk.jl
function enum_decl(enum)
Expand Down
Loading

0 comments on commit 2d041ab

Please sign in to comment.