Skip to content

Commit

Permalink
Update CHANGES.md, prepare for 0.11.1 release (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Jun 6, 2024
1 parent 2cf157c commit 8597100
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changes in GAP.jl

## Version 0.11.1-DEV (released YYYY-MM-DD)

- Optimize conversion from `UInt` to `GapObj`
- Allow `GapInt(x)` as shorthand for producing a GAP integer
- Show an error when trying to load GAP.jl while multithreaded GC is enabled
- Support `gap_to_julia(::AbstractVector)`
- Enhance `@wrap` so that it can produce wrapper functions which coerce
arguments to GAP objects (see its docstring for details and examples)
- Various janitorial changes

## Version 0.11.0 (released 2024-04-05)

- Update to GAP 4.13.0
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GAP"
uuid = "c863536a-3901-11e9-33e7-d5cd0df7b904"
authors = ["Thomas Breuer <sam@math.rwth-aachen.de>", "Sebastian Gutsche <gutsche@mathematik.uni-siegen.de>", "Max Horn <horn@mathematik.uni-kl.de>"]
version = "0.11.0"
version = "0.11.1-DEV"

[deps]
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
Expand Down
5 changes: 3 additions & 2 deletions src/macros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,9 @@ However, the generated function actually caches the GAP object `GAP.Globals.NAME
This minimizes the call overhead. So @wrap typically is used to provide an optimized
way to call certain GAP functions.
If an argument is annotated as `::GapObj`, the resulting function accepts arguments
of any type and wraps them in `GapObj(...)` before passing them to the GAP function.
If an argument is annotated as `::GapObj` (respectively `::GAP.Obj` or `::GapInt`),
the resulting function accepts arguments of any type and attempts to convert them
to `GapObj` (respectively `GAP.Obj` or `GapInt`) before passing them to the GAP function.
Another use case for this macro is to improve type stability of code calling into
GAP, via the type annotations for the arguments and return value contained in the
Expand Down

0 comments on commit 8597100

Please sign in to comment.