summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:38:22 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:38:22 +0100
commitd91b9c4689573bf64750c57089ad3711d4389cd7 (patch)
treeecb36e65c6cf598f0f1f955dfb9e5bbebf890060 /tools
parent06825f703d413cec78849877fb2dba6593336175 (diff)
downloadffi-efl-d91b9c4689573bf64750c57089ad3711d4389cd7.zip
ffi-efl-d91b9c4689573bf64750c57089ad3711d4389cd7.tar.gz
parse elm_layout.h, generate elm_layout.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 7aab889..ad3dd8e 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -65,6 +65,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_clock.h" \
"${INCLUDE}/elementary-0/elm_calendar.h" \
"${INCLUDE}/elementary-0/elm_bubble.h" \
+ "${INCLUDE}/elementary-0/elm_layout.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index aafe4d4..70f2592 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -445,6 +445,11 @@ libs << {
:modname=>'ElmBubble', :prefix=>'elm_bubble', :outfile=>'elm/elm_bubble.rb',
:requires=>["#{NATIVE}/elementary"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_layout.h',
+ :modname=>'ElmLayout', :prefix=>'elm_layout', :outfile=>'elm/elm_layout.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
#
Dir.mkdir lib_path unless (File.exists? lib_path)
#