summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:56:33 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:56:33 +0100
commitc7c4a7cea393e77d0a82a660c67da178ac334f81 (patch)
treeafa13e720edeb3e4da704875ed7459c2e5e74cae /tools
parent6cfd759b104d175f7a1249f09ef84aa742f020e0 (diff)
downloadffi-efl-c7c4a7cea393e77d0a82a660c67da178ac334f81.zip
ffi-efl-c7c4a7cea393e77d0a82a660c67da178ac334f81.tar.gz
parse elm_object.h and generate elm_object.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 7d3965f..de52d7d 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -53,6 +53,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_win.h" \
"${INCLUDE}/elementary-0/elm_bg.h" \
"${INCLUDE}/elementary-0/elm_label.h" \
+ "${INCLUDE}/elementary-0/elm_object.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 0b4188a..b044f62 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -385,6 +385,11 @@ libs << {
:modname=>'ElmLabel', :prefix=>'elm_label', :outfile=>'elm/elm_label.rb',
:requires=>["#{NATIVE}/elementary","#{NATIVE}/elm/elm_entry"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_object.h',
+ :modname=>'ElmObject', :prefix=>'elm_object', :outfile=>'elm/elm_object.rb',
+ :requires=>["#{NATIVE}/edje","#{NATIVE}/elementary"], :constants=>[]
+}
Dir.mkdir lib_path unless (File.exists? lib_path)
#
libs.each do |lib|