summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-01-03 16:59:54 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-01-03 16:59:54 +0100
commitb58bd1ec64eaec38112e27474fc7dd857009581d (patch)
tree7703b48aa75ce96658d94bd91ded6e4e0041cf3c /tools
parent84c2d84aff9e8e0adcbbe272d959746f14940d39 (diff)
downloadffi-efl-b58bd1ec64eaec38112e27474fc7dd857009581d.zip
ffi-efl-b58bd1ec64eaec38112e27474fc7dd857009581d.tar.gz
generate eukit binding
Diffstat (limited to 'tools')
-rwxr-xr-xtools/extract-api.sh3
-rwxr-xr-xtools/genruby.rb3
2 files changed, 5 insertions, 1 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index 5924ac4..089d7bd 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -59,8 +59,9 @@ for header in \
"${INCLUDE}/e_dbus-1/E_DBus.h" \
"${INCLUDE}/e_dbus-1/E_Notify.h" \
"${INCLUDE}/e_dbus-1/E_Bluez.h" \
- "${INCLUDE}/e_dbus-1/E_Ofono.h" \
"${INCLUDE}/e_dbus-1/E_Hal.h" \
+ "${INCLUDE}/e_dbus-1/E_Ofono.h" \
+ "${INCLUDE}/e_dbus-1/E_Ukit.h" \
"${INCLUDE}/ethumb-1/Ethumb.h" \
"${INCLUDE}/ethumb-1/Ethumb_Client.h" \
"${INCLUDE}/ethumb-1/Ethumb_Plugin.h" \
diff --git a/tools/genruby.rb b/tools/genruby.rb
index f059428..754a7ab 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -246,6 +246,8 @@ TYPES = {
'unsigned short' => ':ushort',
'unsigned long int' => ':ulong',
'unsigned long long' => ':ulong_long',
+ 'uint32_t' => ':uint',
+ 'int64_t' => ':long_long',
'uint64_t' => ':ulong_long',
'char *' => ':string', # FIXME ?!?!
'fd_set *' => ':pointer',
@@ -309,6 +311,7 @@ libs << efl_h('edbus','E_DBus.h','Edbus',nil,'edbus.rb',["#{NATIVE}/eina_list"])
libs << efl_h('enotify','E_Notify.h','Enotify','e_notification','enotify.rb',["#{NATIVE}/evas","#{NATIVE}/edbus"])
libs << efl_h('ebluez','E_Bluez.h','Ebluez','e_bluez','ebluez.rb',["#{NATIVE}/edbus"])
libs << efl_h('eofono','E_Ofono.h','Eofono','e_ofono','eofono.rb',["#{NATIVE}/edbus"])
+libs << efl_h('eukit','E_Ukit.h','Eukit','e_ukit','eukit.rb',["#{NATIVE}/edbus"])
libs << efl_h('ehal','E_Hal.h','Ehal','e_hal','ehal.rb',["#{NATIVE}/edbus"])
libs << efl_h('ethumb','Ethumb.h','Ethumb')
libs << efl_h('ethumb_client','Ethumb_Client.h','EthumbClient',nil,nil,["#{NATIVE}/ethumb"])