lib/rvc/readline-ffi.rb in rvc-1.5.0 vs lib/rvc/readline-ffi.rb in rvc-1.6.0

- old
+ new

@@ -20,10 +20,11 @@ require 'ffi' module RVC::ReadlineFFI extend FFI::Library - ffi_lib "readline.so" + libreadline = ENV['RVC_READLINE'] == nil ? 'readline.so' : ENV['RVC_READLINE'] + ffi_lib libreadline callback :rl_linebuf_func_t, [ :string, :int ], :bool attach_variable :rl_char_is_quoted_p, :rl_char_is_quoted_p, :rl_linebuf_func_t attach_variable :rl_line_buffer, :rl_line_buffer, :string end