diff options
| author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-27 14:52:35 +0100 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-27 14:52:35 +0100 | 
| commit | c858ea430f766c94b5f9ca1cb716306b8b6d7031 (patch) | |
| tree | 75df90d69e1ad4f60f319b4099b34e6bdf383dd0 /tools | |
| parent | f41bbfd3a683793044361249544c8bc7bb2747ce (diff) | |
| download | ffi-efl-c858ea430f766c94b5f9ca1cb716306b8b6d7031.zip ffi-efl-c858ea430f766c94b5f9ca1cb716306b8b6d7031.tar.gz  | |
parse elm_box.h, generate elm_box.rb
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/extract-api.sh | 1 | ||||
| -rwxr-xr-x | tools/genruby.rb | 5 | 
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh index de52d7d..adf3a67 100755 --- a/tools/extract-api.sh +++ b/tools/extract-api.sh @@ -54,6 +54,7 @@ for header in \      "${INCLUDE}/elementary-0/elm_bg.h" \      "${INCLUDE}/elementary-0/elm_label.h" \      "${INCLUDE}/elementary-0/elm_object.h" \ +    "${INCLUDE}/elementary-0/elm_box.h" \      ; do      #      if [ ! -e "$header" ]; then diff --git a/tools/genruby.rb b/tools/genruby.rb index b044f62..a706e5e 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -390,6 +390,11 @@ libs << {      :modname=>'ElmObject', :prefix=>'elm_object', :outfile=>'elm/elm_object.rb',      :requires=>["#{NATIVE}/edje","#{NATIVE}/elementary"], :constants=>[]  } +libs << { +    :lib=>ELM_LIB,:header=>'elm_box.h', +    :modname=>'ElmBox', :prefix=>'elm_box', :outfile=>'elm/elm_box.rb', +    :requires=>["#{NATIVE}/edje","#{NATIVE}/elementary"], :constants=>[] +}  Dir.mkdir lib_path unless (File.exists? lib_path)  #  libs.each do |lib|  | 
