summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:43:50 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:43:50 +0100
commit5894c348596d25e349ec92f7a56c67374dd68618 (patch)
tree79ff096e6382169bfd12f09fe7385aae2b2c53ab /tools
parent1ba383336298faea6562ace82132ba1321203179 (diff)
downloadffi-efl-5894c348596d25e349ec92f7a56c67374dd68618.zip
ffi-efl-5894c348596d25e349ec92f7a56c67374dd68618.tar.gz
parse elm_cursor.h, generate elm_cursor.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 ad3dd8e..57eae16 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -66,6 +66,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_calendar.h" \
"${INCLUDE}/elementary-0/elm_bubble.h" \
"${INCLUDE}/elementary-0/elm_layout.h" \
+ "${INCLUDE}/elementary-0/elm_cursor.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index 70f2592..10f269d 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -450,6 +450,11 @@ libs << {
:modname=>'ElmLayout', :prefix=>'elm_layout', :outfile=>'elm/elm_layout.rb',
:requires=>["#{NATIVE}/elementary"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_cursor.h',
+ :modname=>'ElmCursor', :prefix=>'elm_cursor', :outfile=>'elm/elm_cursor.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
#
Dir.mkdir lib_path unless (File.exists? lib_path)
#