summaryrefslogtreecommitdiffhomepage
path: root/include/mruby.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-11-21 23:59:32 +0900
committerGitHub <[email protected]>2020-11-21 23:59:32 +0900
commit049e749c8b12c79a7439ce0fdb402896807eb42b (patch)
treef463c5ac01e1a32a6dea5b6868e2794f6b0479ef /include/mruby.h
parent544784effd251656f7b406bc94880e1ef75af7b5 (diff)
parent3d056d084aedd2a1a3a36e33b1cef4e90d282813 (diff)
downloadmruby-049e749c8b12c79a7439ce0fdb402896807eb42b.tar.gz
mruby-049e749c8b12c79a7439ce0fdb402896807eb42b.zip
Merge pull request #5166 from shuujii/rename-MRB_ENABLE-DISABLE_-to-MRB_USE-NO_
Rename `MRB_{ENABLE,DISABLE}_` to `MRB_{USE,NO}_`; close #5163
Diffstat (limited to 'include/mruby.h')
-rw-r--r--include/mruby.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 8099a85e2..a5116f9ee 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -269,11 +269,11 @@ typedef struct mrb_state {
struct symbol_name *symtbl; /* symbol table */
mrb_sym symhash[256];
size_t symcapa;
-#ifndef MRB_ENABLE_SYMBOLL_ALL
+#ifndef MRB_USE_ALL_SYMBOLS
char symbuf[8]; /* buffer for small symbol names */
#endif
-#ifdef MRB_ENABLE_DEBUG_HOOK
+#ifdef MRB_USE_DEBUG_HOOK
void (*code_fetch_hook)(struct mrb_state* mrb, const struct mrb_irep *irep, const mrb_code *pc, mrb_value *regs);
void (*debug_op_hook)(struct mrb_state* mrb, const struct mrb_irep *irep, const mrb_code *pc, mrb_value *regs);
#endif