Sha256: d3b8cb42301360ddadbf4a67347acf271f55d2f08fdd09276403ab6b71bbce87
Contents?: true
Size: 468 Bytes
Versions: 3
Compression:
Stored size: 468 Bytes
Contents
#include <ruby.h> #include "rparser.h" #define RBFUNC(func) (reinterpret_cast<VALUE(*)(...)>(func)) extern "C" { void Init_phonic() { iv::phonic::Encoding::Init(); // IV VALUE mIV = rb_define_module("IV"); // IV::Phonic VALUE mIVPhonic = rb_define_module_under(mIV, "Phonic"); rb_define_module_function(mIVPhonic, "parse", RBFUNC(&iv::phonic::RParser::Parse), 1); iv::phonic::RParser::Init(mIVPhonic); } } #undef RBFUNC
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iv-phonic-0.0.5 | ext/iv/phonic/phonic.cc |
iv-phonic-0.0.3 | ext/iv/phonic/phonic.cc |
iv-phonic-0.0.2 | ext/iv/phonic/phonic.cc |