mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Including header files in include/* by <>
This commit is contained in:
+1
-2
@@ -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
@@ -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;
|
||||
|
||||
@@ -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--;
|
||||
|
||||
Reference in New Issue
Block a user