mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-21 21:52:04 +02:00
Change CONFIG
to CFG
last minute thought I had, in order to try and avoid conflicts with any other global constants that happen to be called "CONFIG". Also looks nice next to "ENV".
This commit is contained in:
parent
0131abd4dd
commit
8f018fdb30
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ static void mriBindingInit() {
|
|||
_rb_define_method(rb_cString, "to_utf8", mkxpStringToUTF8);
|
||||
_rb_define_method(rb_cString, "to_utf8!", mkxpStringToUTF8Bang);
|
||||
|
||||
VALUE cmod = rb_define_module("CONFIG");
|
||||
VALUE cmod = rb_define_module("CFG");
|
||||
_rb_define_module_function(cmod, "[]", mkxpGetJSONSetting);
|
||||
_rb_define_module_function(cmod, "[]=", mkxpSetJSONSetting);
|
||||
_rb_define_module_function(cmod, "to_hash", mkxpGetAllJSONSettings);
|
||||
|
|
Loading…
Add table
Reference in a new issue