File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ Base.pointer(x::SubString{<:DenseStringView}) = pointer(x.string) + x.offset
44
44
Base. pointer (x:: SubString{<:DenseStringView} , i:: Integer ) = pointer (x. string) + x. offset + (i- 1 )
45
45
Base. unsafe_convert (:: Type{Ptr{UInt8}} , s:: DenseStringViewAndSub ) = pointer (s)
46
46
Base. unsafe_convert (:: Type{Ptr{Int8}} , s:: DenseStringViewAndSub ) = convert (Ptr{Int8}, pointer (s))
47
- Base. cconvert (:: Type{Ptr{UInt8}} , s:: SubString{<:DenseStringView} ) = s
48
- Base. cconvert (:: Type{Ptr{Int8}} , s:: SubString{<:DenseStringView} ) = s
47
+ Base. cconvert (:: Type{Ptr{UInt8}} , s:: DenseStringViewAndSub ) = s
48
+ Base. cconvert (:: Type{Ptr{Int8}} , s:: DenseStringViewAndSub ) = s
49
49
50
50
Base. sizeof (s:: StringView ) = length (s. data)
51
51
Base. ncodeunits (s:: StringView ) = length (s. data)
You can’t perform that action at this time.
0 commit comments