Skip to content

Commit

Permalink
in show, use StringView not String
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBreuer committed Jun 7, 2019
1 parent 8413a5a commit cf9fd94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/GAPJulia/JuliaInterface/julia/gap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const GAPInputType = Union{GAPInputType_internal,Int64,Bool}
const Obj = Union{GAPInputType,Nothing}

function Base.show( io::IO, obj::Union{MPtr,FFE} )
str = Globals.String( obj )
str = Globals.StringView( obj )
stri = CSTR_STRING( str )
print(io,"GAP: $stri")
end
Expand Down

0 comments on commit cf9fd94

Please sign in to comment.