summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:13:17 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:13:17 +0100
commit979cdad00dc4617cf1614f4d4bbdc07a1e7bc1d1 (patch)
treef1a015a60239cd55780aa02e75e8a1567272ed98 /tools
parent8af4c2366a9685c06f3114203cb21da42de6b53f (diff)
downloadffi-efl-979cdad00dc4617cf1614f4d4bbdc07a1e7bc1d1.zip
ffi-efl-979cdad00dc4617cf1614f4d4bbdc07a1e7bc1d1.tar.gz
parse elm_grid.h, generate elm_grid.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 4c50504..e830d2a 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -59,6 +59,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_frame.h" \
"${INCLUDE}/elementary-0/elm_panel.h" \
"${INCLUDE}/elementary-0/elm_image.h" \
+ "${INCLUDE}/elementary-0/elm_grid.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index e963dfa..2d80a8d 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -415,6 +415,11 @@ libs << {
:modname=>'ElmImage', :prefix=>'elm_image', :outfile=>'elm/elm_image.rb',
:requires=>["#{NATIVE}/elementary"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_grid.h',
+ :modname=>'ElmGrid', :prefix=>'elm_grid', :outfile=>'elm/elm_grid.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
#
Dir.mkdir lib_path unless (File.exists? lib_path)
#