Skip to content

Replace deprecated Data_Wrap_Struct with TypedData API#4

Merged
marcoroth merged 1 commit intomainfrom
rb_data_object_wrap
Jan 2, 2026
Merged

Replace deprecated Data_Wrap_Struct with TypedData API#4
marcoroth merged 1 commit intomainfrom
rb_data_object_wrap

Conversation

@marcoroth
Copy link
Owner

Use TypedData_Wrap_Struct instead of the deprecated Data_Wrap_Struct to fix Ruby 4.0.0 deprecation warning.

Fixes #3

@marcoroth marcoroth merged commit 576ddc3 into main Jan 2, 2026
4 checks passed
@marcoroth marcoroth deleted the rb_data_object_wrap branch January 2, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rb_data_object_wrap is deprecated warning

1 participant