Fix brainfart in load_data

This commit is contained in:
Struma 2021-06-10 10:48:36 -04:00 committed by Roza
parent 95e17244fd
commit ee010c6d52
2 changed files with 2 additions and 2 deletions

View file

@ -184,7 +184,7 @@ RB_METHOD(kernelLoadData) {
rb_raise(rb_eTypeError, "load_data: second argument must be Boolean");
}
#if RAPI_MAJOR >= 2
loadDataRubyArgs ldargs {RSTRING_PTR(filename), true};
loadDataRubyArgs ldargs {RSTRING_PTR(filename), RTEST(raw)};
return (VALUE)rb_thread_call_without_gvl([](void* args) -> void* {
return ((void*)call_kernelLoadDataInt_cb((loadDataRubyArgs*)args));
}, (void*)&ldargs, 0, 0);

View file

@ -52,7 +52,7 @@
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
buildConfiguration = "Debug"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"