summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:36:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 15:36:00 +0100
commit8dc91c77cfcb1e6adc7cbabef1fa578df00a3617 (patch)
tree9170624fcbe1083b35f0d777d8d59cdd30e7e8d0 /tools
parent2d73b282cb57c14a2dc9b8d4a052643c48bae892 (diff)
downloadffi-efl-8dc91c77cfcb1e6adc7cbabef1fa578df00a3617.zip
ffi-efl-8dc91c77cfcb1e6adc7cbabef1fa578df00a3617.tar.gz
parse elm_calendar.h, generate elm_calendar.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 f79a192..3a3478c 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -63,6 +63,7 @@ for header in \
"${INCLUDE}/elementary-0/elm_menu.h" \
"${INCLUDE}/elementary-0/elm_check.h" \
"${INCLUDE}/elementary-0/elm_clock.h" \
+ "${INCLUDE}/elementary-0/elm_calendar.h" \
; do
#
if [ ! -e "$header" ]; then
diff --git a/tools/genruby.rb b/tools/genruby.rb
index a9c10ae..edac863 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -435,6 +435,11 @@ libs << {
:modname=>'ElmClock', :prefix=>'elm_clock', :outfile=>'elm/elm_clock.rb',
:requires=>["#{NATIVE}/elementary"], :constants=>[]
}
+libs << {
+ :lib=>ELM_LIB,:header=>'elm_calendar.h',
+ :modname=>'ElmCalendar', :prefix=>'elm_calendar', :outfile=>'elm/elm_calendar.rb',
+ :requires=>["#{NATIVE}/elementary"], :constants=>[]
+}
#
Dir.mkdir lib_path unless (File.exists? lib_path)
#