summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-28 17:02:02 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-28 17:02:02 +0200
commitdffbf7522488feb15384649c41143bd866184cb4 (patch)
tree932971c0eb3cb1370b7149380c50411f8ef6b369 /lib
parentaa7ddc693a3bf6fed5c346f83b3aa7791ba83a8a (diff)
downloadffi-efl-dffbf7522488feb15384649c41143bd866184cb4.zip
ffi-efl-dffbf7522488feb15384649c41143bd866184cb4.tar.gz
fic efl/ffi/ecore_evas generation + minimal specs
Diffstat (limited to 'lib')
-rw-r--r--lib/efl/ecore/ecore_evas.rb13
-rw-r--r--lib/efl/ffi.rb7
-rw-r--r--lib/efl/ffi/ecore/ecore_evas.rb2
3 files changed, 21 insertions, 1 deletions
diff --git a/lib/efl/ecore/ecore_evas.rb b/lib/efl/ecore/ecore_evas.rb
new file mode 100644
index 0000000..32b4d4e
--- /dev/null
+++ b/lib/efl/ecore/ecore_evas.rb
@@ -0,0 +1,13 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/ffi/ecore/ecore_evas'
+#
+module Efl
+ module EcoreEvas
+ #
+ #
+ end
+end
+#
+# EOF
diff --git a/lib/efl/ffi.rb b/lib/efl/ffi.rb
index 70ba4ef..82ee537 100644
--- a/lib/efl/ffi.rb
+++ b/lib/efl/ffi.rb
@@ -35,11 +35,18 @@ module Efl
typedef :pointer, :void_p
typedef :pointer, :string_array
typedef :pointer, :string_array_p
+ typedef :uint_p, :uintptr_t
#
typedef :pointer, :eina_list_p
typedef :pointer, :eina_hash_p
typedef :pointer, :eina_iterator_p
typedef :pointer, :eina_accessor_p
+ typedef :pointer, :evas_p
+ typedef :pointer, :evas_object_p
+ typedef :pointer, :evas_object_pp
+ typedef :pointer, :ecore_getopt_p
+ typedef :pointer, :ecore_getopt_desc_p
+ typedef :pointer, :ecore_getopt_value_p
#
end
#
diff --git a/lib/efl/ffi/ecore/ecore_evas.rb b/lib/efl/ffi/ecore/ecore_evas.rb
index baa1568..7231897 100644
--- a/lib/efl/ffi/ecore/ecore_evas.rb
+++ b/lib/efl/ffi/ecore/ecore_evas.rb
@@ -7,7 +7,7 @@ module Efl
#
module EcoreEvas
def self.method_missing m, *args, &block
- return Efl::FFI.send 'ecore_'+m.to_s, *args, &block
+ return Efl::FFI.send 'ecore_evas_'+m.to_s, *args, &block
end
end
#