From ecd0d92d30152e954443fcc7ccaa84bd3f329cf1 Mon Sep 17 00:00:00 2001 From: Mathew Velasquez Date: Sat, 17 Dec 2016 15:59:38 -0500 Subject: [PATCH] Reverting some marshal stuff --- binding-mri/filesystem-binding.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/binding-mri/filesystem-binding.cpp b/binding-mri/filesystem-binding.cpp index 7076326..4bc5e03 100644 --- a/binding-mri/filesystem-binding.cpp +++ b/binding-mri/filesystem-binding.cpp @@ -223,7 +223,7 @@ fileIntBindingInit() /* We overload the built-in 'Marshal::load()' function to silently * insert our utf8proc that ensures all read strings will be * UTF-8 encoded */ - // VALUE marsh = rb_const_get(rb_cObject, rb_intern("Marshal")); - // rb_define_alias(rb_singleton_class(marsh), "_mkxp_load_alias", "load"); - // _rb_define_module_function(marsh, "load", _marshalLoad); + VALUE marsh = rb_const_get(rb_cObject, rb_intern("Marshal")); + rb_define_alias(rb_singleton_class(marsh), "_mkxp_load_alias", "load"); + _rb_define_module_function(marsh, "load", _marshalLoad); }