Add support for hashtables with enum/flags values #301

Merged
jwharm merged 2 commits from enum-hashtable into main 2025-11-20 09:47:22 +01:00
jwharm commented 2025-11-20 09:46:51 +01:00 (Migrated from github.com)
  • Hashtables will no longer throw an exception when trying to insert an enum or flags value.
  • Enum and flags can now be constructed from a MemorySegment parameter.
  • The static factory method of(int) for flags classes now returns a Set instead of a single flag.

Fixes #297

* Hashtables will no longer throw an exception when trying to insert an enum or flags value. * Enum and flags can now be constructed from a `MemorySegment` parameter. * The static factory method `of(int)` for flags classes now returns a Set instead of a single flag. Fixes #297
Sign in to join this conversation.
No description provided.