summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:51:27 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:51:27 +0100
commitc70913b5ec836a345a6b96ec72e16d789d2705b2 (patch)
tree2c823d37777f65383792dcb8923a574e3f4ac42a /tools
parentea0778f802ea5864e60a22ec826a691aed7b5c70 (diff)
downloadffi-efl-c70913b5ec836a345a6b96ec72e16d789d2705b2.zip
ffi-efl-c70913b5ec836a345a6b96ec72e16d789d2705b2.tar.gz
parse elm_bg.h and generate elm_bg.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 7139a4e..7b3b207 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -51,6 +51,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_entry.h" \
"${INCLUDE}/elementary-0/elm_list.h" \
"${INCLUDE}/elementary-0/elm_win.h" \
+ "${INCLUDE}/elementary-0/elm_bg.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 1ac1144..545459f 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -375,6 +375,11 @@ libs << {
:modname=>'ElmWin', :prefix=>'elm_win', :outfile=>'elm/elm_win.rb',
:requires=>["#{NATIVE}/elementary"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_bg.h',
+ :modname=>'ElmBg', :prefix=>'elm_bg', :outfile=>'elm/elm_bg.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
Dir.mkdir lib_path unless (File.exists? lib_path)
#
libs.each do |lib|