Ruby  1.9.3p484(2013-11-22revision43786)
Functions | Variables
coverage.c File Reference
#include "ruby.h"
#include "vm_core.h"

Go to the source code of this file.

Functions

static VALUE rb_coverage_start (VALUE klass)
 
static int coverage_result_i (st_data_t key, st_data_t val, st_data_t h)
 
static VALUE rb_coverage_result (VALUE klass)
 
void Init_coverage (void)
 

Variables

static VALUE rb_coverages = Qundef
 

Function Documentation

static int coverage_result_i ( st_data_t  key,
st_data_t  val,
st_data_t  h 
)
static

Definition at line 36 of file coverage.c.

References coverage(), rb_ary_clear(), rb_ary_dup(), rb_ary_freeze(), rb_hash_aset(), and ST_CONTINUE.

Referenced by rb_coverage_result().

void Init_coverage ( void  )
static VALUE rb_coverage_result ( VALUE  klass)
static
static VALUE rb_coverage_start ( VALUE  klass)
static

Definition at line 23 of file coverage.c.

References Qnil, Qundef, rb_coverages, rb_get_coverages(), rb_hash_new(), rb_set_coverages(), RBASIC, and RTEST.

Referenced by Init_coverage().

Variable Documentation

VALUE rb_coverages = Qundef
static

Definition at line 14 of file coverage.c.

Referenced by Init_coverage(), and rb_coverage_start().