diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-12-21 00:58:42 +0100 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-12-21 00:58:42 +0100 | 
| commit | e42ef336cc3c02f13807dc472947425a60268858 (patch) | |
| tree | 8956793c972b316f79388fa5630b970db375faa1 /tools | |
| parent | 8f416c0cfc4937a82ea31e384689f9adb802106a (diff) | |
| download | ffi-efl-e42ef336cc3c02f13807dc472947425a60268858.zip ffi-efl-e42ef336cc3c02f13807dc472947425a60268858.tar.gz  | |
generate eina_file native mapping
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/extract-api.sh | 1 | ||||
| -rwxr-xr-x | tools/genruby.rb | 6 | 
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh index ff0b6ff..f9ef6fa 100755 --- a/tools/extract-api.sh +++ b/tools/extract-api.sh @@ -32,6 +32,7 @@ for header in \      "${INCLUDE}/eina-1/eina/eina_log.h" \      "${INCLUDE}/eina-1/eina/eina_list.h" \      "${INCLUDE}/eina-1/eina/eina_hash.h" \ +    "${INCLUDE}/eina-1/eina/eina_file.h" \      "${INCLUDE}/eet-1/Eet.h" \      "${INCLUDE}/edje-1/Edje.h" \      "${INCLUDE}/evas-1/Evas.h" \ 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=>[]  | 
