summaryrefslogtreecommitdiffstats
path: root/tools/genruby.rb
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/genruby.rb
parente42ef336cc3c02f13807dc472947425a60268858 (diff)
downloadffi-efl-9e25cb9e61be59b5172225c9eb07bb728d14133e.zip
ffi-efl-9e25cb9e61be59b5172225c9eb07bb728d14133e.tar.gz
generate eio native mapping
Diffstat (limited to 'tools/genruby.rb')
-rwxr-xr-xtools/genruby.rb6
1 files changed, 6 insertions, 0 deletions
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=>[]