diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-27 10:54:39 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-27 10:54:39 +0100 |
commit | 6cfd759b104d175f7a1249f09ef84aa742f020e0 (patch) | |
tree | 030d481fc2bb9d62670683b7ff8ed9eca5b81ca4 /tools | |
parent | c70913b5ec836a345a6b96ec72e16d789d2705b2 (diff) | |
download | ffi-efl-6cfd759b104d175f7a1249f09ef84aa742f020e0.zip ffi-efl-6cfd759b104d175f7a1249f09ef84aa742f020e0.tar.gz |
parse elm_label.h and generate elm_label.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 7b3b207..7d3965f 100755 --- a/tools/extract-api.sh +++ b/tools/extract-api.sh @@ -52,6 +52,7 @@ for header in \ "${INCLUDE}/elementary-0/elm_list.h" \ "${INCLUDE}/elementary-0/elm_win.h" \ "${INCLUDE}/elementary-0/elm_bg.h" \ + "${INCLUDE}/elementary-0/elm_label.h" \ ; do # if [ ! -e "$header" ]; then diff --git a/tools/genruby.rb b/tools/genruby.rb index 545459f..0b4188a 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -380,6 +380,11 @@ libs << { :modname=>'ElmBg', :prefix=>'elm_bg', :outfile=>'elm/elm_bg.rb', :requires=>["#{NATIVE}/elementary"], :constants=>[] } +libs << { + :lib=>ELM_LIB,:header=>'elm_label.h', + :modname=>'ElmLabel', :prefix=>'elm_label', :outfile=>'elm/elm_label.rb', + :requires=>["#{NATIVE}/elementary","#{NATIVE}/elm/elm_entry"], :constants=>[] +} Dir.mkdir lib_path unless (File.exists? lib_path) # libs.each do |lib| |