diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-05 00:13:06 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-05 00:13:06 +0200 |
commit | f3d11962e77d25d19a312b4baa1a390539b2187b (patch) | |
tree | d7a3842583a0607cba272a85b210f5947ed9ec57 /lib/efl/eina_list.rb | |
parent | e4baccaefd209a25daa3ff8d5277fe86aca1d379 (diff) | |
download | ffi-efl-f3d11962e77d25d19a312b4baa1a390539b2187b.zip ffi-efl-f3d11962e77d25d19a312b4baa1a390539b2187b.tar.gz |
all FFI into one module Efl::Native
Diffstat (limited to 'lib/efl/eina_list.rb')
-rw-r--r-- | lib/efl/eina_list.rb | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lib/efl/eina_list.rb b/lib/efl/eina_list.rb index 7d756ad..4a9d459 100644 --- a/lib/efl/eina_list.rb +++ b/lib/efl/eina_list.rb @@ -4,23 +4,24 @@ require 'efl/native/eina_list' # module Efl - module EinaList + # + module Native # - module Native - # - class EinaListStruct < FFI::Struct - layout :data, :pointer, + class EinaListStruct < FFI::Struct + layout :data, :pointer, :next, :pointer, - :prev, :pointer, - :accounting, :pointer, - :magic, :uint - end + :prev, :pointer, + :accounting, :pointer, + :magic, :uint end + end + # + module EinaList # class REinaList include Enumerable include Efl::ClassHelper - proxy_list [Efl::EinaList::Native,'eina_list_'].freeze + proxy_list [Efl::Native,'eina_list_'].freeze def initialize o=nil @ptr = ( case o |