mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Big Dummy Forgets a Function
This commit is contained in:
parent
a216869375
commit
513e2935b2
1 changed files with 7 additions and 0 deletions
|
@ -125,6 +125,7 @@ RB_METHOD(mkxpIsUsingRosetta);
|
|||
RB_METHOD(mkxpIsUsingWine);
|
||||
RB_METHOD(mkxpIsReallyMacHost);
|
||||
RB_METHOD(mkxpIsReallyLinuxHost);
|
||||
RB_METHOD(mkxpIsReallyWindowsHost);
|
||||
|
||||
RB_METHOD(mkxpUserLanguage);
|
||||
RB_METHOD(mkxpUserName);
|
||||
|
@ -224,6 +225,7 @@ static void mriBindingInit() {
|
|||
_rb_define_module_function(mod, "is_wine?", mkxpIsUsingWine);
|
||||
_rb_define_module_function(mod, "is_really_mac?", mkxpIsReallyMacHost);
|
||||
_rb_define_module_function(mod, "is_really_linux?", mkxpIsReallyLinuxHost);
|
||||
_rb_define_module_function(mod, "is_really_windows?", mkxpIsReallyWindowsHost);
|
||||
|
||||
|
||||
_rb_define_module_function(mod, "user_language", mkxpUserLanguage);
|
||||
|
@ -436,6 +438,11 @@ RB_METHOD(mkxpIsReallyLinuxHost) {
|
|||
return rb_bool_new(mkxp_sys::getRealHostType() == mkxp_sys::WineHostType::Linux);
|
||||
}
|
||||
|
||||
RB_METHOD(mkxpIsReallyWindowsHost) {
|
||||
RB_UNUSED_PARAM;
|
||||
return rb_bool_new(mkxp_sys::getRealHostType() == mkxp_sys::WineHostType::Windows);
|
||||
}
|
||||
|
||||
RB_METHOD(mkxpUserLanguage) {
|
||||
RB_UNUSED_PARAM;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue