Including header files in include/* by <>

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-03-21 14:11:09 +09:00
parent 0786b24528
commit 87b358a342
24 changed files with 115 additions and 116 deletions
+1 -2
View File
@@ -3,9 +3,8 @@
**
** See Copyright Notice in mruby.h
*/
#include <stdlib.h>
#include "mruby.h"
#include <mruby.h>
/* This function serves as the default memory allocation function and accepts four arguments:
*
+3 -3
View File
@@ -581,7 +581,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep, FILE *out)
ins = READ_B();
switch (ins) {
#define OPCODE(i,x) case OP_ ## i: FETCH_ ## x ## _1 (); goto L_OP_ ## i;
#include "mruby/ops.h"
#include <mruby/ops.h>
#undef OPCODE
}
break;
@@ -591,7 +591,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep, FILE *out)
ins = READ_B();
switch (ins) {
#define OPCODE(i,x) case OP_ ## i: FETCH_ ## x ## _2 (); goto L_OP_ ## i;
#include "mruby/ops.h"
#include <mruby/ops.h>
#undef OPCODE
}
break;
@@ -601,7 +601,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep, FILE *out)
ins = READ_B();
switch (ins) {
#define OPCODE(i,x) case OP_ ## i: FETCH_ ## x ## _3 (); goto L_OP_ ## i;
#include "mruby/ops.h"
#include <mruby/ops.h>
#undef OPCODE
}
break;
+4 -4
View File
@@ -1387,7 +1387,7 @@ mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc)
#ifndef MRB_USE_VM_SWITCH_DISPATCH
static const void * const optable[] = {
#define OPCODE(x,_) &&L_OP_ ## x,
#include "mruby/ops.h"
#include <mruby/ops.h>
#undef OPCODE
};
#endif
@@ -3039,7 +3039,7 @@ RETRY_TRY_BLOCK:
insn = READ_B();
switch (insn) {
#define OPCODE(insn,ops) case OP_ ## insn: FETCH_ ## ops ## _1(); mrb->c->ci->pc = pc; goto L_OP_ ## insn ## _BODY;
#include "mruby/ops.h"
#include <mruby/ops.h>
#undef OPCODE
}
pc--;
@@ -3049,7 +3049,7 @@ RETRY_TRY_BLOCK:
insn = READ_B();
switch (insn) {
#define OPCODE(insn,ops) case OP_ ## insn: FETCH_ ## ops ## _2(); mrb->c->ci->pc = pc; goto L_OP_ ## insn ## _BODY;
#include "mruby/ops.h"
#include <mruby/ops.h>
#undef OPCODE
}
pc--;
@@ -3059,7 +3059,7 @@ RETRY_TRY_BLOCK:
insn = READ_B();
switch (insn) {
#define OPCODE(insn,ops) case OP_ ## insn: FETCH_ ## ops ## _3(); mrb->c->ci->pc = pc; goto L_OP_ ## insn ## _BODY;
#include "mruby/ops.h"
#include <mruby/ops.h>
#undef OPCODE
}
pc--;