no more submodule

This commit is contained in:
2024-09-15 22:40:48 +02:00
parent df3b8a3135
commit 0234b33671
5804 changed files with 943618 additions and 1 deletions

View File

@@ -0,0 +1,124 @@
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Pango {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Autogenerated code
public partial class Language : GLib.Opaque {
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate IntPtr d_pango_language_from_string(IntPtr language);
static d_pango_language_from_string pango_language_from_string = FuncLoader.LoadFunction<d_pango_language_from_string>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Pango), "pango_language_from_string"));
public static Pango.Language FromString(string language) {
IntPtr native_language = GLib.Marshaller.StringToPtrGStrdup (language);
IntPtr raw_ret = pango_language_from_string(native_language);
Pango.Language ret = raw_ret == IntPtr.Zero ? null : (Pango.Language) GLib.Opaque.GetOpaque (raw_ret, typeof (Pango.Language), false);
GLib.Marshaller.Free (native_language);
return ret;
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate IntPtr d_pango_language_get_default();
static d_pango_language_get_default pango_language_get_default = FuncLoader.LoadFunction<d_pango_language_get_default>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Pango), "pango_language_get_default"));
public static Pango.Language Default {
get {
IntPtr raw_ret = pango_language_get_default();
Pango.Language ret = raw_ret == IntPtr.Zero ? null : (Pango.Language) GLib.Opaque.GetOpaque (raw_ret, typeof (Pango.Language), false);
return ret;
}
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate IntPtr d_pango_language_get_sample_string(IntPtr raw);
static d_pango_language_get_sample_string pango_language_get_sample_string = FuncLoader.LoadFunction<d_pango_language_get_sample_string>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Pango), "pango_language_get_sample_string"));
public string SampleString {
get {
IntPtr raw_ret = pango_language_get_sample_string(Handle);
string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
return ret;
}
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate int d_pango_language_get_scripts(IntPtr raw, out int num_scripts);
static d_pango_language_get_scripts pango_language_get_scripts = FuncLoader.LoadFunction<d_pango_language_get_scripts>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Pango), "pango_language_get_scripts"));
public Pango.Script GetScripts(out int num_scripts) {
int raw_ret = pango_language_get_scripts(Handle, out num_scripts);
Pango.Script ret = (Pango.Script) raw_ret;
return ret;
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate IntPtr d_pango_language_get_type();
static d_pango_language_get_type pango_language_get_type = FuncLoader.LoadFunction<d_pango_language_get_type>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Pango), "pango_language_get_type"));
public static GLib.GType GType {
get {
IntPtr raw_ret = pango_language_get_type();
GLib.GType ret = new GLib.GType(raw_ret);
return ret;
}
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate bool d_pango_language_includes_script(IntPtr raw, int script);
static d_pango_language_includes_script pango_language_includes_script = FuncLoader.LoadFunction<d_pango_language_includes_script>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Pango), "pango_language_includes_script"));
public bool IncludesScript(Pango.Script script) {
bool raw_ret = pango_language_includes_script(Handle, (int) script);
bool ret = raw_ret;
return ret;
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate bool d_pango_language_matches(IntPtr raw, IntPtr range_list);
static d_pango_language_matches pango_language_matches = FuncLoader.LoadFunction<d_pango_language_matches>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Pango), "pango_language_matches"));
public bool Matches(string range_list) {
IntPtr native_range_list = GLib.Marshaller.StringToPtrGStrdup (range_list);
bool raw_ret = pango_language_matches(Handle, native_range_list);
bool ret = raw_ret;
GLib.Marshaller.Free (native_range_list);
return ret;
}
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
delegate IntPtr d_pango_language_to_string(IntPtr raw);
static d_pango_language_to_string pango_language_to_string = FuncLoader.LoadFunction<d_pango_language_to_string>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Pango), "pango_language_to_string"));
public override string ToString() {
IntPtr raw_ret = pango_language_to_string(Handle);
string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
return ret;
}
public Language(IntPtr raw) : base(raw) {}
// Internal representation of the wrapped structure ABI.
static GLib.AbiStruct _abi_info = null;
static public unsafe GLib.AbiStruct abi_info {
get {
if (_abi_info == null)
_abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{
});
return _abi_info;
}
}
// End of the ABI representation.
#endregion
}
}