summaryrefslogtreecommitdiffstats
path: root/lib/efl/ecore.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-29 14:04:47 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-29 14:07:18 +0200
commitc2855a3809a9c76a94e4434efe7caecef27b8a35 (patch)
treeca19f60adb65382f587ab2bdce6575b791321196 /lib/efl/ecore.rb
parent308c072a8e809b5694225cb7fc29535f62bd6d3e (diff)
downloadffi-efl-c2855a3809a9c76a94e4434efe7caecef27b8a35.zip
ffi-efl-c2855a3809a9c76a94e4434efe7caecef27b8a35.tar.gz
update efl/ecore* and specs
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