summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:05:59 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 10:05:59 +0100
commit6700f66b82f8cc46886a4ed60d1c3e29d853df24 (patch)
tree2ec0a32c8e9f6894f3593e5eff12e4bd7db7a84c /tools
parent706034d6d53414e6eb8b5880af38c8dc101f8c65 (diff)
downloadffi-efl-6700f66b82f8cc46886a4ed60d1c3e29d853df24.zip
ffi-efl-6700f66b82f8cc46886a4ed60d1c3e29d853df24.tar.gz
parse elm_entry.h and generate elm_entry.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 6ca6065..a763dfe 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -48,6 +48,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_object_item.h" \
"${INCLUDE}/elementary-0/elm_icon.h" \
"${INCLUDE}/elementary-0/elm_scroller.h" \
+ "${INCLUDE}/elementary-0/elm_entry.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 1bef0fc..4c6dc02 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -360,6 +360,11 @@ libs << {
:modname=>'ElmScroller', :prefix=>'elm_scroller', :outfile=>'elm/elm_scroller.rb',
:requires=>["#{NATIVE}/elementary"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_entry.h',
+ :modname=>'ElmEntry', :prefix=>'elm_entry', :outfile=>'elm/elm_entry.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
Dir.mkdir lib_path unless (File.exists? lib_path)
#
libs.each do |lib|