libgit2 / rugged

ruby bindings to libgit2
MIT License
2.25k stars 277 forks source link

Remove alloc from defined classes #935

Closed HParker closed 2 years ago

HParker commented 2 years ago

This fixes the warning: undefining the allocator of T_DATA class Rugged::Commit warnings that are common in ruby 3.2 builds

Ruby no longer wants people using the default alloc if they Data_Wrap_Struct it.

ruby discussion: https://bugs.ruby-lang.org/issues/18007