Permalink
Browse files

native version

  • Loading branch information...
1 parent a48a016 commit 4234046f0eaccc6670d8c8a5aeaed396ec063f0f @funny-falcon committed Aug 2, 2012
Showing with 478 additions and 12 deletions.
  1. +8 −0 ext/murmurhash3/extconf.rb
  2. +441 −0 ext/murmurhash3/murmur3.c
  3. +8 −8 lib/murmurhash3/pure_ruby.rb
  4. +21 −4 test/test_murmur.rb
@@ -0,0 +1,8 @@
+if RUBY_ENGINE == 'ruby'
+ require 'mkmf'
+ create_makefile("native_murmur")
+else
+ File.open(File.dirname(__FILE__) + "/Makefile", 'w') do |f|
+ f.write("install:\n\t#nothing to build")
+ end
+end
Oops, something went wrong.

0 comments on commit 4234046

Please sign in to comment.