summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:09:12 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:09:12 +0100
commit8af4c2366a9685c06f3114203cb21da42de6b53f (patch)
tree3b2e2b0fab5f9abd0b353b334b279ecc22b0c9af /tools
parent41f77c375f4bfcc6395425aa86158bdad93108ad (diff)
downloadffi-efl-8af4c2366a9685c06f3114203cb21da42de6b53f.zip
ffi-efl-8af4c2366a9685c06f3114203cb21da42de6b53f.tar.gz
parse elm_image.h, generate elm_image.rb
Diffstat (limited to 'tools')
-rwxr-xr-xtools/extract-api.sh1
-rwxr-xr-xtools/genruby.rb5
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index ce754e3..4c50504 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -58,6 +58,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_button.h" \
"${INCLUDE}/elementary-0/elm_frame.h" \
"${INCLUDE}/elementary-0/elm_panel.h" \
+ "${INCLUDE}/elementary-0/elm_image.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 1be9b57..e963dfa 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -410,6 +410,11 @@ libs << {
:modname=>'ElmPanel', :prefix=>'elm_panel', :outfile=>'elm/elm_panel.rb',
:requires=>["#{NATIVE}/elementary"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_image.h',
+ :modname=>'ElmImage', :prefix=>'elm_image', :outfile=>'elm/elm_image.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
#
Dir.mkdir lib_path unless (File.exists? lib_path)
#