summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:16:29 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:16:29 +0100
commit742806e336e6984e4ffa8d87ec6fdde61cbfeaef (patch)
treec6f645b446c9f189141863072d300efab5cbf04c /tools
parent31832748e24d10b0422126ebc020b555520aeb49 (diff)
downloadffi-efl-742806e336e6984e4ffa8d87ec6fdde61cbfeaef.zip
ffi-efl-742806e336e6984e4ffa8d87ec6fdde61cbfeaef.tar.gz
parse elm_list.h and generate elm_list.rb
Diffstat (limited to 'tools')
-rwxr-xr-xtools/extract-api.sh1
-rwxr-xr-xtools/genruby.rb4
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index a763dfe..6b0b8e7 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -49,6 +49,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_icon.h" \
"${INCLUDE}/elementary-0/elm_scroller.h" \
"${INCLUDE}/elementary-0/elm_entry.h" \
+ "${INCLUDE}/elementary-0/elm_list.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index ab78aec..c547bc6 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -365,6 +365,10 @@ libs << {
:modname=>'ElmEntry', :prefix=>'elm_entry', :outfile=>'elm/elm_entry.rb',
:requires=>["#{NATIVE}/edje","#{NATIVE}/elementary","#{NATIVE}/elm/elm_icon","#{NATIVE}/elm/elm_scroller"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_list.h',
+ :modname=>'ElmList', :prefix=>'elm_list', :outfile=>'elm/elm_list.rb',
+ :requires=>["#{NATIVE}/elementary","#{NATIVE}/elm/elm_scroller"], :constants=>[]
}
Dir.mkdir lib_path unless (File.exists? lib_path)
#