Sha256: 8fdbfb7313a53a19cb3997955868907302ba95be81a86b025b8574f000f8f696

Contents?: true

Size: 496 Bytes

Versions: 3

Compression:

Stored size: 496 Bytes

Contents

#include <stdio.h>
#include <ruby.h>
#include <numo/narray.h>
#include "lib.h"
#include "read.h"
#include "write.h"

extern VALUE numo_cDFloat;
extern VALUE numo_cSFloat;
extern VALUE numo_cInt32;
extern VALUE numo_cInt64;
extern VALUE rb_mNumo;


VALUE rb_cBinrw;

void Init_binrw(void){
    rb_cBinrw = rb_define_module_under(rb_mNumo, "Binrw");
    rb_define_module_function(rb_cBinrw, "_bin_write", nrw_bin_write, 2);

    rb_define_module_function(rb_cBinrw, "_bin_read", nrw_bin_read, 2);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
numo-binrw-0.2.1 ext/numo/binrw/binrw.c
numo-binrw-0.1.1 ext/numo/binrw/binrw.c
numo-binrw-0.1.0 ext/numo/binrw/binrw.c