Skip to content

Instantly share code, notes, and snippets.

@feliwir
Created June 27, 2022 21:31
Show Gist options
  • Save feliwir/890832dbdb5a44fc3eecdf818ee5550f to your computer and use it in GitHub Desktop.
Save feliwir/890832dbdb5a44fc3eecdf818ee5550f to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GExiv2" version="0.10"/>
<include name="GObject" version="2.0"/>
<include name="Gio" version="2.0"/>
<package name="gmu"/>
<c:include name="gmu/gmu.h"/>
<namespace name="Gmu"
version="0.1"
shared-library="libgmu-0.1.0.so.0"
c:identifier-prefixes="Gmu"
c:symbol-prefixes="gmu">
<function-macro name="CHECK_VERSION"
c:identifier="GMU_CHECK_VERSION"
introspectable="0">
<doc xml:space="preserve"
filename="../gmu/gmu-version.h"
line="33">Returns %TRUE if the version of the Gmu header files
is the same as or newer than the passed-in version.</doc>
<source-position filename="../gmu/gmu-version.h" line="44"/>
<parameters>
<parameter name="major">
<doc xml:space="preserve"
filename="../gmu/gmu-version.h"
line="35">major version (e.g. 1 for version 1.2.5)</doc>
</parameter>
<parameter name="minor">
<doc xml:space="preserve"
filename="../gmu/gmu-version.h"
line="36">minor version (e.g. 2 for version 1.2.5)</doc>
</parameter>
<parameter name="micro">
<doc xml:space="preserve"
filename="../gmu/gmu-version.h"
line="37">micro version (e.g. 5 for version 1.2.5)</doc>
</parameter>
</parameters>
</function-macro>
<class name="ExifImage"
c:symbol-prefix="exif_image"
c:type="GmuExifImage"
version="0.1"
parent="GObject.Object"
glib:type-name="GmuExifImage"
glib:get-type="gmu_exif_image_get_type"
glib:type-struct="ExifImageClass">
<doc xml:space="preserve"
filename="../gmu/gmu-exif-image.c"
line="28">Contains image data and EXIF metadata
`GmuExifImage` implements `GdkPaintable`.</doc>
<source-position filename="../gmu/gmu-exif-image.h" line="30"/>
<constructor name="new_from_file"
c:identifier="gmu_exif_image_new_from_file"
version="0.1">
<doc xml:space="preserve"
filename="../gmu/gmu-exif-image.c"
line="205">Creates a new `GmuExifImage` from @file.</doc>
<source-position filename="../gmu/gmu-exif-image.h" line="32"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="../gmu/gmu-exif-image.c"
line="211">the new created `GmuExifImage`</doc>
<type name="ExifImage" c:type="GmuExifImage*"/>
</return-value>
<parameters>
<parameter name="file" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gmu/gmu-exif-image.c"
line="207">a valid GFile</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
</constructor>
<method name="get_filepath" c:identifier="gmu_exif_image_get_filepath">
<source-position filename="../gmu/gmu-exif-image.h" line="37"/>
<return-value transfer-ownership="full">
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="image" transfer-ownership="none">
<type name="ExifImage" c:type="GmuExifImage*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_from_file" c:identifier="gmu_exif_image_set_from_file">
<source-position filename="../gmu/gmu-exif-image.h" line="33"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="image" transfer-ownership="none">
<type name="ExifImage" c:type="GmuExifImage*"/>
</instance-parameter>
<parameter name="file" transfer-ownership="none">
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
</method>
<method name="try_get_latitude"
c:identifier="gmu_exif_image_try_get_latitude">
<source-position filename="../gmu/gmu-exif-image.h" line="35"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="image" transfer-ownership="none">
<type name="ExifImage" c:type="GmuExifImage*"/>
</instance-parameter>
<parameter name="latitude" transfer-ownership="none">
<type name="gdouble" c:type="gdouble*"/>
</parameter>
</parameters>
</method>
<method name="try_get_longitude"
c:identifier="gmu_exif_image_try_get_longitude">
<source-position filename="../gmu/gmu-exif-image.h" line="36"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="image" transfer-ownership="none">
<type name="ExifImage" c:type="GmuExifImage*"/>
</instance-parameter>
<parameter name="longitude" transfer-ownership="none">
<type name="gdouble" c:type="gdouble*"/>
</parameter>
</parameters>
</method>
</class>
<record name="ExifImageClass"
c:type="GmuExifImageClass"
glib:is-gtype-struct-for="ExifImage">
<source-position filename="../gmu/gmu-exif-image.h" line="30"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<constant name="MAJOR_VERSION" value="0" c:type="GMU_MAJOR_VERSION">
<doc xml:space="preserve"
filename="../gmu/gmu-version.h"
line="12">The major version of libgmu (1, if %GMU_VERSION is 1.2.3)</doc>
<source-position filename="../gmu/gmu-version.h" line="17"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MICRO_VERSION" value="0" c:type="GMU_MICRO_VERSION">
<doc xml:space="preserve"
filename="../gmu/gmu-version.h"
line="26">The micro version of libgmu (3, if %GMU_VERSION is 1.2.3)</doc>
<source-position filename="../gmu/gmu-version.h" line="31"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MINOR_VERSION" value="1" c:type="GMU_MINOR_VERSION">
<doc xml:space="preserve"
filename="../gmu/gmu-version.h"
line="19">The minor version of libgmu (2, if %GMU_VERSION is 1.2.3)</doc>
<source-position filename="../gmu/gmu-version.h" line="24"/>
<type name="gint" c:type="gint"/>
</constant>
<docsection name="gmu-version">
<doc xml:space="preserve"
filename="../gmu/gmu-version.h"
line="4">Gmu offers a set of macros for checking the version of the library
an application was linked to.</doc>
</docsection>
</namespace>
</repository>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment