summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:04:30 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:04:30 +0100
commitdebba5aaff32de4ba857ad4f177fc6c2c21bec46 (patch)
tree9cc559eec327fadd77b086bc088ae711a1770619 /tools
parent863fce3d0c74445ab4be4b69b998970f33fa076a (diff)
downloadffi-efl-debba5aaff32de4ba857ad4f177fc6c2c21bec46.zip
ffi-efl-debba5aaff32de4ba857ad4f177fc6c2c21bec46.tar.gz
parse elm_icon.h and generate elm_icon.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 f17a0fe..ba30448 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -46,6 +46,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_general.h" \
"${INCLUDE}/elementary-0/elm_tooltip.h" \
"${INCLUDE}/elementary-0/elm_object_item.h" \
+ "${INCLUDE}/elementary-0/elm_icon.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 96f50c6..52a174a 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -350,6 +350,11 @@ libs << {
:modname=>'ElmObjectItem', :prefix=>'elm_object_item', :outfile=>'elm/elm_object_item.rb',
:requires=>["#{NATIVE}/elementary"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_icon.h',
+ :modname=>'ElmIcon', :prefix=>'elm_icon', :outfile=>'elm/elm_icon.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
Dir.mkdir lib_path unless (File.exists? lib_path)
#
libs.each do |lib|