diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 16:09:49 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 16:09:49 +0100 |
commit | f5be08ea606ad373f3bab8e5a0f258b82a9cf11f (patch) | |
tree | a5dee985149c7cdeb799958f99de8a1450d3b92b /lib/efl/elm/elm_box.rb | |
parent | 142e64c3cefcd11667adefdc61989536f6a34bd4 (diff) | |
download | ffi-efl-f5be08ea606ad373f3bab8e5a0f258b82a9cf11f.zip ffi-efl-f5be08ea606ad373f3bab8e5a0f258b82a9cf11f.tar.gz |
lib/efl/elm/elm_*.rb: Native::->Native.
Diffstat (limited to 'lib/efl/elm/elm_box.rb')
-rw-r--r-- | lib/efl/elm/elm_box.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/efl/elm/elm_box.rb b/lib/efl/elm/elm_box.rb index b0539a2..c12a560 100644 --- a/lib/efl/elm/elm_box.rb +++ b/lib/efl/elm/elm_box.rb @@ -17,7 +17,7 @@ module Efl def padding_get x = FFI::MemoryPointer.new :int y = FFI::MemoryPointer.new :int - Native::elm_box_padding_get @ptr, x, y + Native.elm_box_padding_get @ptr, x, y [ x.read_int, y.read_int ] end alias :padding :padding_get @@ -25,7 +25,7 @@ module Efl def align_get x = FFI::MemoryPointer.new :float y = FFI::MemoryPointer.new :float - Native::elm_box_align_get @ptr, x, y + Native.elm_box_align_get @ptr, x, y [ x.read_float, y.read_float ] end alias :align :padding_get |