Skip to content

Commit

Permalink
don't use type annotations as they aren't supported on julia 1.6
Browse files Browse the repository at this point in the history
These were not the high-impact part of the previous commit.
  • Loading branch information
jwahlstrand committed Oct 10, 2023
1 parent 62f581b commit eafd0bb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/GLib/signals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function new_gsource(source_funcs::_GSourceFuncs)
gsource
end

expiration::UInt64 = UInt64(0)
expiration = UInt64(0)
_isempty_workqueue() = isempty(Base.Workqueue)
uv_loop_alive(evt) = ccall(:uv_loop_alive, Cint, (Ptr{Nothing},), evt) != 0

Expand Down Expand Up @@ -341,8 +341,7 @@ function uv_dispatch(src::Ptr{Nothing}, callback::Ptr{Nothing}, data)
return ccall(callback, Cint, (UInt,), data)
end

sizeof_gclosure::Int = 0
jlref_quark::UInt32 = 0
sizeof_gclosure = 0
function __init__gtype__()
global jlref_quark = quark"julia_ref"
global sizeof_gclosure = Sys.WORD_SIZE
Expand Down

0 comments on commit eafd0bb

Please sign in to comment.