]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Add freetype2 binding stub for harfbuzz-gobject
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 31 Oct 2022 21:03:51 +0000 (22:03 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 13 Nov 2022 16:01:24 +0000 (17:01 +0100)
vapi/Makefile.am
vapi/freetype2.vapi [new file with mode: 0644]

index f71ae2fbb89fcd2545528eeb7dc1fb9c2c11d0f8..430444da8c100f8834e5766cd26448119f2fbeb4 100644 (file)
@@ -49,6 +49,7 @@ dist_vapi_DATA = \
        dbus-glib-1.vapi \
        enchant.vapi \
        enchant-2.vapi \
+       freetype2.vapi \
        fuse.deps \
        fuse.vapi \
        gconf-2.0.vapi \
diff --git a/vapi/freetype2.vapi b/vapi/freetype2.vapi
new file mode 100644 (file)
index 0000000..6c9d23b
--- /dev/null
@@ -0,0 +1,25 @@
+/* freetype2.vapi generated by vapigen, do not modify. */
+
+[CCode (cprefix = "FT", gir_namespace = "freetype2", gir_version = "2.0", lower_case_cprefix = "FT_")]
+namespace FT {
+       [CCode (cheader_filename = "freetype/freetype.h", cname = "FT_Bitmap", has_type_id = false)]
+       public struct Bitmap {
+       }
+       [CCode (cheader_filename = "freetype/freetype.h", cname = "FT_Face", has_type_id = false)]
+       public struct Face {
+       }
+       [CCode (cheader_filename = "freetype/freetype.h", cname = "FT_Int")]
+       [SimpleType]
+       public struct Int : int {
+       }
+       [CCode (cheader_filename = "freetype/freetype.h", cname = "FT_Int32")]
+       [SimpleType]
+       public struct Int32 : int32 {
+       }
+       [CCode (cheader_filename = "freetype/freetype.h", cname = "struct FT_LibraryRec_", has_type_id = false)]
+       [Compact (opaque = true)]
+       public class Library {
+       }
+       [CCode (cheader_filename = "freetype/freetype.h", cname = "FT_Library_Version")]
+       public static void library_version (FT.Library library, out FT.Int amajor, out FT.Int aminor, out FT.Int apatch);
+}