summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-10-21 11:26:52 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-10-21 11:26:52 +0200
commit0328567724606036744189edd39ffabb7797bdc7 (patch)
tree91ecff4b08fc12030bb89da86af65d884372f849 /tools
parent9421723bdf574e347e0eb4ff7b25d2314ccbc7ea (diff)
downloadffi-efl-0328567724606036744189edd39ffabb7797bdc7.zip
ffi-efl-0328567724606036744189edd39ffabb7797bdc7.tar.gz
take care of eina_xattr.h
Diffstat (limited to 'tools')
-rwxr-xr-xtools/extract-api.sh1
-rwxr-xr-xtools/genruby.rb3
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index 313176f..9599f2b 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -25,6 +25,7 @@ fi
#
for header in \
"${INCLUDE}/eina-1/eina/eina_types.h" \
+ "${INCLUDE}/eina-1/eina/eina_xattr.h" \
"${INCLUDE}/eina-1/eina/eina_main.h" \
"${INCLUDE}/eina-1/eina/eina_log.h" \
"${INCLUDE}/eina-1/eina/eina_list.h" \
diff --git a/tools/genruby.rb b/tools/genruby.rb
index fe8e90f..1912a07 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -9,6 +9,7 @@ libraries = [
# HEADER MODUE NAME FCT PREFIX LIB OUTPUT
[ 'eina_types.h', 'Eina', 'eina', 'eina', 'eina_types.rb' ],
[ 'eina_main.h', 'Eina', 'eina', 'eina', 'eina.rb' ],
+ [ 'eina_xattr.h', 'EinaXattr', 'eina_xattr', 'eina', 'eina_xattr.rb' ],
[ 'eina_log.h', 'EinaLog', 'eina_log', 'eina', 'eina_log.rb' ],
[ 'eina_list.h', 'EinaList', 'eina_list', 'eina', 'eina_list.rb' ],
[ 'eina_hash.h', 'EinaHash', 'eina_hash', 'eina', 'eina_hash.rb' ],
@@ -68,6 +69,7 @@ TYPES = {
'pid_t' => ':ulong',
'time_t' => ':ulong',
'size_t' => ':ulong',
+ 'ssize_t' => ':long',
'double' => ':double',
'long int' => ':long',
'long long' => ':long_long',
@@ -80,6 +82,7 @@ TYPES = {
'short *' => ':short_p',
'float *' => ':float_p',
'size_t *' => ':ulong_p',
+ 'ssize_t *' => ':long_p',
'double *' => ':double_p',
'unsigned int *' => ':uint_p',
'unsigned char *' => ':uchar_p',