Log warning for missing MemorySegment constructor #290

Merged
jwharm merged 1 commit from issue-284 into main 2025-10-28 20:27:09 +01:00
jwharm commented 2025-10-28 20:26:48 +01:00 (Migrated from github.com)

When a custom GType is created in Java, but it is instantiated from a GtkBuilder template, it must have a constructor that takes a MemorySegment parameter (the memory address of the native instance). This PR adds a warning message when the constructor is missing.

Fixes #284

When a custom GType is created in Java, but it is instantiated from a GtkBuilder template, it must have a constructor that takes a `MemorySegment` parameter (the memory address of the native instance). This PR adds a warning message when the constructor is missing. Fixes #284
Sign in to join this conversation.
No description provided.