diff --git a/pkg/GAPJulia/JuliaInterface/example/gap_function_call.jl b/pkg/GAPJulia/JuliaInterface/example/gap_function_call.jl index 917e3f4a..7a371cb9 100644 --- a/pkg/GAPJulia/JuliaInterface/example/gap_function_call.jl +++ b/pkg/GAPJulia/JuliaInterface/example/gap_function_call.jl @@ -1,5 +1,5 @@ function IsPrimeInt(a) - return GAP.GAPFuncs.IsPrimeInt(a) + return GAP.Globals.IsPrimeInt(a) end function Power2(a) diff --git a/pkg/GAPJulia/JuliaInterface/julia/ccalls.jl b/pkg/GAPJulia/JuliaInterface/julia/ccalls.jl index 2bd83ca9..c75aff3b 100644 --- a/pkg/GAPJulia/JuliaInterface/julia/ccalls.jl +++ b/pkg/GAPJulia/JuliaInterface/julia/ccalls.jl @@ -180,7 +180,3 @@ function propertynames(funcobj::GlobalsType,private) list_converted = gap_to_julia( Array{Symbol,1}, list ) return tuple(list_converted...) end - -# For backwards compatibility -# TODO: remove this again -GAPFuncs = Globals diff --git a/pkg/GAPJulia/JuliaInterface/tst/convert.tst b/pkg/GAPJulia/JuliaInterface/tst/convert.tst index abd963bf..ac67a2cf 100644 --- a/pkg/GAPJulia/JuliaInterface/tst/convert.tst +++ b/pkg/GAPJulia/JuliaInterface/tst/convert.tst @@ -166,7 +166,7 @@ gap> list2:= JuliaToGAP( IsList, list ); [ 1, , 3 ] ## -gap> xx := JuliaEvalString("GAP.GAPFuncs.PROD(2^59,2^59)");; +gap> xx := JuliaEvalString("GAP.Globals.PROD(2^59,2^59)");; gap> JuliaToGAP( IsInt, xx ); 332306998946228968225951765070086144