~jpsamaroo/DBus.jl

ec6f303b083aa7e0bd666c9bd862d6ce307ed928 — Julian P Samaroo 1 year, 20 days ago e9686a1
dbus_spec: Fix Ref/Variant
1 files changed, 1 insertions(+), 0 deletions(-)

M src/DBus.jl
M src/DBus.jl => src/DBus.jl +1 -0
@@ 115,6 115,7 @@ function julia_type(x::Char)
end
dbus_spec(::Type{Vector{T}}) where T = "a$(dbus_spec(T))"
dbus_spec(::Type{Dict{K,V}}) where {K,V} = "{$(dbus_spec(K))$(dbus_spec(V))}"
dbus_spec(::Type{<:Ref}) = "v"
dbus_spec(::Type{T}) where T = string(dbus_type(T))
dbus_spec(x) = dbus_spec(typeof(x))