From: Rico Tzschichholz Date: Mon, 31 Oct 2022 21:03:51 +0000 (+0100) Subject: vapi: Add freetype2 binding stub for harfbuzz-gobject X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a9eb86f9aac237905d3492cbaa8df76fa1ca37c;p=thirdparty%2Fvala.git vapi: Add freetype2 binding stub for harfbuzz-gobject --- diff --git a/vapi/Makefile.am b/vapi/Makefile.am index f71ae2fbb..430444da8 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -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 index 000000000..6c9d23b9e --- /dev/null +++ b/vapi/freetype2.vapi @@ -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); +}