From debba5aaff32de4ba857ad4f177fc6c2c21bec46 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Mon, 27 Feb 2012 10:04:30 +0100 Subject: parse elm_icon.h and generate elm_icon.rb --- tools/extract-api.sh | 1 + tools/genruby.rb | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'tools') 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| -- cgit v1.2.3