Split g_ir_ffi_get_ffi_type() out from ginvoke.c
authorOwen Taylor <otaylor@src.gnome.org>
Tue, 11 Nov 2008 00:04:45 +0000 (00:04 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 11 Nov 2008 00:04:45 +0000 (00:04 +0000)
commit1764f6bcf2be6b45b0726694d86c501ce60d1b4e
tree41da0fde544d8c86c155c294ac5b70cae4b93aa2
parenteceeb044de0a3dd137fa15da7027ce706504bc94
Split g_ir_ffi_get_ffi_type() out from ginvoke.c

Extract a function to convert GITypeTag to ffi_type from the internals
of ginvoke.c. This will be useful in figure out structure alignment.

Also fix handling of gsize and time_t to be portable. (Add a check
to configure.ac to figure out the width of time_t.)

svn path=/trunk/; revision=873
configure.ac
girepository/Makefile.am
girepository/ginvoke.c
girepository/girffi.c [new file with mode: 0644]
girepository/girffi.h [new file with mode: 0644]