Sha256: 5fbf407147fc166233a1a31a1ece4cc2dee89c6a4500ea9d680ea7efd5b94fd8

Contents?: true

Size: 465 Bytes

Versions: 24

Compression:

Stored size: 465 Bytes

Contents

#include <ruby.h>
#include "hitimes_interval.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( )
{
    mH = rb_define_module("Hitimes");
     
    eH_Error = rb_define_class_under(mH, "Error", rb_eStandardError);

    Init_hitimes_interval();
    Init_hitimes_stats( );
}

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
hitimes-1.2.1 ext/hitimes/c/hitimes.c
hitimes-1.2.0-x86-mswin32 ext/hitimes/c/hitimes.c
hitimes-1.2.0-java ext/hitimes/c/hitimes.c
hitimes-1.2.0 ext/hitimes/c/hitimes.c