Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GAP_IsChar, GAP_IsBoolean, GAP_IsFunction; fix GAP_IsMacFloat; expand some comments #5457

Merged
merged 2 commits into from
Jun 30, 2023

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Jun 5, 2023

  • GAP_IsMacFloat now returns an int instead of Int, like all the
    other GAP_Is* functions (technically this is an ABI breaking change)
  • GAP_IsMacFloat now also accepts a null pointer
  • add some comments for functions that are safe to call without
    catching GAP errors, because they never raise an error (so this is
    a binding API/ABI promise)
  • add GAP_IsChar (note that technically one could already do this
    by checking GAP_ValueOfChar(obj) != -1)
  • add GAP_IsBoolean
  • add GAP_IsFunction

@fingolfin fingolfin added kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: kernel topic: libgap things related to libgap labels Jun 5, 2023
- `GAP_IsMacFloat` now returns an `int` instead of `Int`, like all the
  other `GAP_Is*` functions (technically this is an ABI breaking change)
- `GAP_IsMacFloat` now also accepts a null pointer
- add some comments for functions that are safe to call without
  catching GAP errors, because they never raise an error (so this is
  a binding API/ABI promise)
- add `GAP_IsChar` (note that technically one could already do this
  by checking `GAP_ValueOfChar(obj) != -1`)
@fingolfin fingolfin changed the title libgap: add GAP_IsChar, fix GAP_IsMacFloat, expand some comments libgap: add GAP_IsChar, GAP_IsBoolean, GAP_IsFunction; fix GAP_IsMacFloat; expand some comments Jun 5, 2023
@fingolfin fingolfin merged commit 851dbd9 into gap-system:master Jun 30, 2023
@fingolfin fingolfin deleted the mh/libgap-tweaks branch June 30, 2023 06:28
@fingolfin fingolfin changed the title libgap: add GAP_IsChar, GAP_IsBoolean, GAP_IsFunction; fix GAP_IsMacFloat; expand some comments Add GAP_IsChar, GAP_IsBoolean, GAP_IsFunction; fix GAP_IsMacFloat; expand some comments Jan 23, 2024
@fingolfin fingolfin added the release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes topic: kernel topic: libgap things related to libgap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants