diff options
Diffstat (limited to 'vapi/libexif.vapi')
-rw-r--r-- | vapi/libexif.vapi | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/vapi/libexif.vapi b/vapi/libexif.vapi index b95dfb0..25e1a6b 100644 --- a/vapi/libexif.vapi +++ b/vapi/libexif.vapi @@ -63,7 +63,11 @@ namespace Exif { public static void set_slong(uchar *buffer, ByteOrder byteOrder, int32 val); } - [CCode (cheader_filename="libexif/exif-content.h", has_target=false)] + [CCode ( + cheader_filename="libexif/exif-content.h", + has_target=false, + cname="ExifContentForeachEntryFunc" + )] public delegate void ForeachEntryFunc(Entry e, void *user); [Compact] @@ -92,12 +96,16 @@ namespace Exif { public void set_data_type(DataType data_type); // length is Exif.IFD_COUNT - public Content[] ifd; + public Content ifd[Exif.IFD_COUNT]; public uchar *data; public uint size; } - [CCode (cheader_filename="libexif/exif-data.h", has_target=false)] + [CCode ( + cheader_filename="libexif/exif-data.h", + has_target=false, + cname="ExifDataForeachContentFunc" + )] public delegate void ForeachContentFunc(Content c, void *user); [CCode ( |