Sha256: a5d48c206d84359fe73595461d0de87d29491e806203db17ae26b0345fcbd18f

Contents?: true

Size: 353 Bytes

Versions: 8

Compression:

Stored size: 353 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

8 entries across 8 versions & 1 rubygems

Version Path
google_hash-0.6.2 ext/template/main.cpp.erb
google_hash-0.6.1 ext/template/main.cpp.erb
google_hash-0.6.0 ext/template/main.cpp.erb
google_hash-0.5.1 ext/template/main.cpp.erb
google_hash-0.3.1 ext/template/main.cpp.erb
google_hash-0.3.0 ext/template/main.cpp.erb
google_hash-0.2.1 ext/template/main.cpp.erb
google_hash-0.2.0 ext/template/main.cpp.erb