diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-27 10:22:47 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-27 10:22:47 +0100 |
commit | ea0778f802ea5864e60a22ec826a691aed7b5c70 (patch) | |
tree | d4945e30c24610331f0e3127c103288e0e3d818a /tools | |
parent | 742806e336e6984e4ffa8d87ec6fdde61cbfeaef (diff) | |
download | ffi-efl-ea0778f802ea5864e60a22ec826a691aed7b5c70.zip ffi-efl-ea0778f802ea5864e60a22ec826a691aed7b5c70.tar.gz |
parse elm_win.h and generate elm_win.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 6b0b8e7..7139a4e 100755 --- a/tools/extract-api.sh +++ b/tools/extract-api.sh @@ -50,6 +50,7 @@ for header in \ "${INCLUDE}/elementary-0/elm_scroller.h" \ "${INCLUDE}/elementary-0/elm_entry.h" \ "${INCLUDE}/elementary-0/elm_list.h" \ + "${INCLUDE}/elementary-0/elm_win.h" \ ; do # if [ ! -e "$header" ]; then diff --git a/tools/genruby.rb b/tools/genruby.rb index c547bc6..1ac1144 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -370,6 +370,11 @@ libs << { :modname=>'ElmList', :prefix=>'elm_list', :outfile=>'elm/elm_list.rb', :requires=>["#{NATIVE}/elementary","#{NATIVE}/elm/elm_scroller"], :constants=>[] } +libs << { + :lib=>ELM_LIB,:header=>'elm_win.h', + :modname=>'ElmWin', :prefix=>'elm_win', :outfile=>'elm/elm_win.rb', + :requires=>["#{NATIVE}/elementary"], :constants=>[] +} Dir.mkdir lib_path unless (File.exists? lib_path) # libs.each do |lib| |