Sha256: f737282f511bc8d677818bacd5b80226b816041076cf3e1a281708a8ab4b6643
Contents?: true
Size: 357 Bytes
Versions: 12
Compression:
Stored size: 357 Bytes
Contents
extern "C" { #include <ruby.h> // like extern void init_dense_ruby_to_ruby_; <% init_funcs.each do |func| %> <%= "extern void #{func}();" %> <% end %> void Init_google_hash() { <% init_funcs.each do |func| %> <%= func %>(); <% end %> rb_eval_string("::GoogleHash = ::GoogleHashDenseRubyToRuby"); // give a default } }
Version data entries
12 entries across 12 versions & 1 rubygems