summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-10-31 09:21:45 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-10-31 09:21:45 +0100
commitd637ddd5b7d29ade0c500414f78f3acc6be97261 (patch)
tree70479c867010c9a6aa46ab496eef7f6b8f9f0666 /lib
parent671da06e513d3eb210bb72f54e3c7a9e83acbecd (diff)
downloadffi-efl-d637ddd5b7d29ade0c500414f78f3acc6be97261.zip
ffi-efl-d637ddd5b7d29ade0c500414f78f3acc6be97261.tar.gz
add missing pointer definition
Diffstat (limited to 'lib')
-rw-r--r--lib/efl/elementary.rb2
-rw-r--r--lib/efl/native/elementary.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb
index db6f2ef..29d351e 100644
--- a/lib/efl/elementary.rb
+++ b/lib/efl/elementary.rb
@@ -45,7 +45,7 @@ module Efl
class << self
def init *args
a = args.select { |e| e.is_a? String }
- a.insert 0, __FILE__ if a.length==0
+ a << __FILE__ if a.length==0
ptr = FFI::MemoryPointer.new :pointer, a.length
a.each_with_index do |s,i|
ptr[i].write_pointer FFI::MemoryPointer.from_string(s)
diff --git a/lib/efl/native/elementary.rb b/lib/efl/native/elementary.rb
index 002025c..5644007 100644
--- a/lib/efl/native/elementary.rb
+++ b/lib/efl/native/elementary.rb
@@ -168,6 +168,7 @@ module Efl
typedef :pointer, :elm_theme_p
# typedef struct _Elm_Box_Transition Elm_Box_Transition;
typedef :pointer, :elm_box_transition
+ typedef :pointer, :elm_box_transition_p
# typedef struct Elm_Gen_Item Elm_Gen_Item;
typedef :pointer, :elm_gen_item
typedef :pointer, :elm_gen_item_p