summaryrefslogtreecommitdiffstats
path: root/lib/efl/ecore.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/ecore.rb')
-rw-r--r--lib/efl/ecore.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/efl/ecore.rb b/lib/efl/ecore.rb
index 0e7d88b..b4d8aaa 100644
--- a/lib/efl/ecore.rb
+++ b/lib/efl/ecore.rb
@@ -15,15 +15,15 @@ module Efl
EVENT_SIGNAL_REALTIME = 5 # Realtime signal event
EVENT_COUNT = 6
#
- class EcorePipe
+ class REcorePipe
def initialize cb, data
- @ptr = Efl::FFI.ecore_pipe_add cb, data
+ @ptr = Efl::Ecore.ecore_pipe_add cb, data
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 del; Efl::Ecore.ecore_pipe_del @ptr; end
+ def read_close; Efl::Ecore.ecore_pipe_read_close @ptr; end
+ def write_close; Efl::Ecore.ecore_pipe_write_close @ptr; end
def write data
- Efl::FFI.ecore_pipe_write @ptr, ::FFI::MemoryPointer.from_string(data.to_s), data.to_s.length+1
+ Efl::Ecore.ecore_pipe_write @ptr, FFI::MemoryPointer.from_string(data.to_s), data.to_s.length+1
end
#
end