about summary refs log tree commit
path: root/ext/rpatricia/extconf.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-09-01 16:41:08 -0700
committerEric Wong <normalperson@yhbt.net>2010-09-01 16:51:06 -0700
commit742da1694d3202714f8f8534d907c51f1cdca514 (patch)
tree94a7fab85c89787a8d2958d504c475bf15e79534 /ext/rpatricia/extconf.rb
parentbb221fa8e214605ead838b51cee443388b2c2f14 (diff)
downloadrpatricia-742da1694d3202714f8f8534d907c51f1cdca514.tar.gz
Patricia#show_nodes uses Ruby IO methods
This allows the output of Patricia#show_nodes to be redirected
to StringIO objects (or anything else that responds to printf).
Since Ruby 1.9 no longer uses stdio, this lets us go through the
normal output stream used by Ruby.
Diffstat (limited to 'ext/rpatricia/extconf.rb')
-rwxr-xr-xext/rpatricia/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/rpatricia/extconf.rb b/ext/rpatricia/extconf.rb
index ac42e36..18bb7a7 100755
--- a/ext/rpatricia/extconf.rb
+++ b/ext/rpatricia/extconf.rb
@@ -1,5 +1,5 @@
 #!/usr/bin/env ruby
 require "mkmf"
 
+have_func("rb_str_set_len", "ruby.h")
 create_makefile("rpatricia")
-