Skip to content

Commit

Permalink
Remove obsolete GAP.GAPFuncs
Browse files Browse the repository at this point in the history
Use GAP.Globals instead
  • Loading branch information
fingolfin committed Jun 17, 2019
1 parent ec681d3 commit fc96338
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/GAPJulia/JuliaInterface/example/gap_function_call.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function IsPrimeInt(a)
return GAP.GAPFuncs.IsPrimeInt(a)
return GAP.Globals.IsPrimeInt(a)
end

function Power2(a)
Expand Down
4 changes: 0 additions & 4 deletions pkg/GAPJulia/JuliaInterface/julia/ccalls.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pkg/GAPJulia/JuliaInterface/tst/convert.tst
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ gap> list2:= JuliaToGAP( IsList, list );
[ 1, <Julia: parse>, 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

Expand Down

0 comments on commit fc96338

Please sign in to comment.