diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-27 06:27:47 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-27 06:27:47 +0200 |
commit | 94434474b1c0edd25e0e2423635c6bc12e574e18 (patch) | |
tree | 260fa051878a1d015500edd0988f9bb41ce08710 /lib/efl/ecore.rb | |
parent | dbab4c802acbcd62262efd44f5415285a39de011 (diff) | |
download | ffi-efl-94434474b1c0edd25e0e2423635c6bc12e574e18.zip ffi-efl-94434474b1c0edd25e0e2423635c6bc12e574e18.tar.gz |
module Efl::API renamed to Efl::FFI
Diffstat (limited to 'lib/efl/ecore.rb')
-rw-r--r-- | lib/efl/ecore.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/efl/ecore.rb b/lib/efl/ecore.rb index 4e6a4e9..0e7d88b 100644 --- a/lib/efl/ecore.rb +++ b/lib/efl/ecore.rb @@ -17,13 +17,13 @@ module Efl # class EcorePipe def initialize cb, data - @ptr = Efl::API.ecore_pipe_add cb, data + @ptr = Efl::FFI.ecore_pipe_add cb, data end - def del; Efl::API.ecore_pipe_del @ptr; end - def read_close; Efl::API.ecore_pipe_read_close @ptr; end - def write_close; Efl::API.ecore_pipe_write_close @ptr; end + def del; Efl::FFI.ecore_pipe_del @ptr; end + def read_close; Efl::FFI.ecore_pipe_read_close @ptr; end + def write_close; Efl::FFI.ecore_pipe_write_close @ptr; end def write data - Efl::API.ecore_pipe_write @ptr, FFI::MemoryPointer.from_string(data.to_s), data.to_s.length+1 + Efl::FFI.ecore_pipe_write @ptr, ::FFI::MemoryPointer.from_string(data.to_s), data.to_s.length+1 end # end |