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