Please sign in to comment.
Add defines for ENCODING_GET and ENCODING_SET
This is a simple alias for rb_enc_get_index and rb_enc_set_index. On MRI this does a bunch of nasty internal stuff with objects, but the external behavior is the same as these functions. Fixes #1564
- Loading branch information...