This repository has been archived by the owner on Aug 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The functions passed to `rb_ensure` should be `VALUE`s. It's probably the case that Ruby is going to pass these directly without ever examining them, but maybe not. This wraps the `ParseArgs` pointer as a Ruby object (of class `Data` which is what the documentation seems to suggest rather than class `Object`, but `Data` is also deprecated so who knows?). This fixes several compilation warnings about mismatched types.
- Loading branch information
1 parent
55d7b96
commit a624096
Showing
1 changed file
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters