summaryrefslogtreecommitdiffstats
path: root/tools/genruby.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-12-21 00:58:42 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-12-21 00:58:42 +0100
commite42ef336cc3c02f13807dc472947425a60268858 (patch)
tree8956793c972b316f79388fa5630b970db375faa1 /tools/genruby.rb
parent8f416c0cfc4937a82ea31e384689f9adb802106a (diff)
downloadffi-efl-e42ef336cc3c02f13807dc472947425a60268858.zip
ffi-efl-e42ef336cc3c02f13807dc472947425a60268858.tar.gz
generate eina_file 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 92bc5b0..d5649f1 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -243,6 +243,7 @@ TYPES = {
'unsigned int' => ':uint',
'unsigned char' => ':uchar',
'unsigned short' => ':ushort',
+ 'unsigned long int' => ':ulong',
'unsigned long long' => ':ulong_long',
'char *' => ':string', # FIXME ?!?!
'fd_set *' => ':pointer',
@@ -294,6 +295,11 @@ libs << {
:requires=>[], :constants=>[]
}
libs << {
+ :lib=>'eina', :header=>'eina_file.h',
+ :modname=>'EinaFile', :prefix=>'eina_file', :outfile=>'eina_file.rb',
+ :requires=>[], :constants=>[]
+}
+libs << {
:lib=>'eet', :header=>'Eet.h',
:modname=>'Eet', :prefix=>'eet', :outfile=>'eet.rb',
:requires=>["#{NATIVE}/eina_xattr","#{NATIVE}/eina_list"], :constants=>[]