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