ext/coverage/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 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().


Generated on 27 Nov 2014 for Ruby by  doxygen 1.6.1