summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-12-21 01:01:30 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-12-21 01:01:30 +0100
commit9e25cb9e61be59b5172225c9eb07bb728d14133e (patch)
treedc270a00a6023828e14513343fcbc3076cc1c979 /tools
parente42ef336cc3c02f13807dc472947425a60268858 (diff)
downloadffi-efl-9e25cb9e61be59b5172225c9eb07bb728d14133e.zip
ffi-efl-9e25cb9e61be59b5172225c9eb07bb728d14133e.tar.gz
generate eio native mapping
Diffstat (limited to 'tools')
-rwxr-xr-xtools/extract-api.sh1
-rwxr-xr-xtools/genruby.rb6
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index f9ef6fa..1b1c7a4 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -44,6 +44,7 @@ for header in \
"${INCLUDE}/ecore-1/Ecore_Evas.h" \
"${INCLUDE}/ecore-1/Ecore_Fb.h" \
"${INCLUDE}/ecore-1/Ecore_File.h" \
+ "${INCLUDE}/eio-1/Eio.h" \
"${INCLUDE}/ethumb-1/Ethumb.h" \
"${INCLUDE}/ethumb-1/Ethumb_Client.h" \
"${INCLUDE}/ethumb-1/Ethumb_Plugin.h" \
diff --git a/tools/genruby.rb b/tools/genruby.rb
index d5649f1..3ca7acc 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -232,6 +232,7 @@ TYPES = {
'long' => ':long',
'short' => ':short',
'float' => ':float',
+ 'mode_t' => ':int',
'pid_t' => ':ulong',
'time_t' => ':ulong',
'size_t' => ':ulong',
@@ -335,6 +336,11 @@ libs << {
:requires=>["#{NATIVE}/ecore_getopt","#{NATIVE}/evas"], :constants=>[]
}
libs << {
+ :lib=>'eio', :header=>'Eio.h',
+ :modname=>'Edje', :prefix=>'eio', :outfile=>'eio.rb',
+ :requires=>["#{NATIVE}/eina_file","#{NATIVE}/eet"], :constants=>[]
+}
+libs << {
:lib=>'ethumb', :header=>'Ethumb.h',
:modname=>'Ethumb', :prefix=>'ethumb', :outfile=>'ethumb.rb',
:requires=>[], :constants=>[]