internal static extern void VipsValueSetArrayImage(ref GValue.Struct value, int n);
internal static extern void VipsValueSetArrayInt(ref GValue.Struct value, int[] array, int n);
internal static extern IntPtr VipsValueGetArrayImage(ref GValue.Struct value, IntPtr n);
internal static extern void VipsValueSetArrayDouble(ref GValue.Struct value, double[] array, int n);
internal static extern IntPtr VipsValueGetArrayInt(ref GValue.Struct value, out int n);
internal static extern IntPtr VipsValueGetArrayDouble(ref GValue.Struct value, ref int n);
internal static extern void VipsValueSetBlobFree(ref GValue.Struct value, IntPtr data, UIntPtr length);
internal static extern void VipsValueSetRefString(ref GValue.Struct value, IntPtr str);
internal static extern IntPtr VipsValueGetBlob(ref GValue.Struct value, out ulong length);
/// <summary> /// Initializes a new instance of the <see cref="GValue"/> class. /// </summary> public GValue() { Struct = new Internal.GValue.Struct(); // logger.Debug($"GValue = {Struct}"); }
/// <summary> /// Initializes a new instance of the <see cref="GValue"/> class /// with the specified struct to wrap around. /// </summary> /// <param name="value">The specified struct to wrap around.</param> internal GValue(Internal.GValue.Struct value) { Struct = value; // logger.Debug($"GValue = {Struct}"); }
internal static extern IntPtr GValueGetObject(ref GValue.Struct value);
internal static extern void GValueSetObject(ref GValue.Struct value, NetVips.GObject vObject);
internal static extern void GObjectGetProperty(NetVips.GObject @object, [MarshalAs(UnmanagedType.LPStr)] string propertyName, ref GValue.Struct value);
internal static extern void VipsImageSet(Image image, [MarshalAs(UnmanagedType.LPStr)] string name, ref GValue.Struct value);
internal static extern void VipsValueSetBlob(ref GValue.Struct value, VipsCallbackFn freeFn, IntPtr data, UIntPtr length);
internal static extern int VipsImageGet(Image image, [MarshalAs(UnmanagedType.LPStr)] string name, ref GValue.Struct valueCopy);
internal static extern IntPtr VipsValueGetRefString(ref GValue.Struct value, ref ulong length);