Files
project_misth/include/binding/ruby.h
T
2026-05-03 23:04:44 +01:00

13 lines
208 B
C++

#include "pch.h"
#include "utils.h"
namespace Ruby {
extern mrb_state *mrb;
struct Block {
mrb_value proc;
Block(mrb_value proc) : proc(proc) {
mrb_gc_protect(mrb, proc);
}
};
}; // namespace Ruby