Sha256: 9753f3051471e1061455519723c562d0eb0a459370425f30ec5ca08c2717bc2e

Contents?: true

Size: 439 Bytes

Versions: 4

Compression:

Stored size: 439 Bytes

Contents

#include <ruby.h>

/* Module and Classes */
VALUE mH;           /* module Hitimes            */
VALUE eH_Error;     /* class  Hitimes::Error     */

/*
 * Document-class: Hitimes::Error
 *
 * General error class for the Hitimes module
 */
void Init_hitimes_ext( )
{
    mH = rb_define_module("Hitimes");
     
    eH_Error = rb_define_class_under(mH, "Error", rb_eStandardError);

    Init_hitimes_interval();
    Init_hitimes_stats( );
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hitimes-0.2.0 ext/hitimes_ext.c
hitimes-0.2.1 ext/hitimes_ext.c
hitimes-0.3.0 ext/hitimes_ext.c
hitimes-0.3.0-x86-mswin32-60 ext/hitimes_ext.c