1#ifndef INTERNAL_COVERAGE_H
2#define INTERNAL_COVERAGE_H
13#define COVERAGE_INDEX_LINES 0
14#define COVERAGE_INDEX_BRANCHES 1
16#define COVERAGE_TARGET_LINES 1
17#define COVERAGE_TARGET_BRANCHES 2
18#define COVERAGE_TARGET_METHODS 4
19#define COVERAGE_TARGET_ONESHOT_LINES 8
20#define COVERAGE_TARGET_EVAL 16
35RUBY_SYMBOL_EXPORT_BEGIN
37VALUE rb_get_coverages(
void);
38void rb_set_coverages(
VALUE coverages,
int mode,
VALUE cme2counter,
VALUE me_set);
39void rb_clear_coverages(
void);
40void rb_reset_coverages(
void);
41void rb_resume_coverages(
void);
42void rb_suspend_coverages(
void);
43void rb_coverage_each_method(rb_coverage_method_callback callback,
void *data);
48int rb_get_coverage_mode(
void);
49VALUE rb_default_coverage(
int n);
uintptr_t VALUE
Type that represents a Ruby object.