All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.purejava.appindicator._PangoRendererClass Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
// Generated by jextract

package org.purejava.appindicator;

import java.lang.foreign.Arena;
import java.lang.foreign.MemoryLayout;
import java.lang.foreign.MemorySegment;
import java.lang.foreign.SegmentAllocator;
import java.lang.invoke.VarHandle;
/**
 * {@snippet :
 * struct _PangoRendererClass {
 *     struct _GObjectClass parent_class;
 *     void (*draw_glyphs)(struct _PangoRenderer*,struct _PangoFont*,struct _PangoGlyphString*,int,int);
 *     void (*draw_rectangle)(struct _PangoRenderer*,enum PangoRenderPart,int,int,int,int);
 *     void (*draw_error_underline)(struct _PangoRenderer*,int,int,int,int);
 *     void (*draw_shape)(struct _PangoRenderer*,struct _PangoAttrShape*,int,int);
 *     void (*draw_trapezoid)(struct _PangoRenderer*,enum PangoRenderPart,double,double,double,double,double,double);
 *     void (*draw_glyph)(struct _PangoRenderer*,struct _PangoFont*,unsigned int,double,double);
 *     void (*part_changed)(struct _PangoRenderer*,enum PangoRenderPart);
 *     void (*begin)(struct _PangoRenderer*);
 *     void (*end)(struct _PangoRenderer*);
 *     void (*prepare_run)(struct _PangoRenderer*,struct _PangoGlyphItem*);
 *     void (*draw_glyph_item)(struct _PangoRenderer*,char*,struct _PangoGlyphItem*,int,int);
 *     void (*_pango_reserved2)();
 *     void (*_pango_reserved3)();
 *     void (*_pango_reserved4)();
 * };
 * }
 */
public class _PangoRendererClass {

    public static MemoryLayout $LAYOUT() {
        return constants$1641.const$4;
    }
    public static MemorySegment parent_class$slice(MemorySegment seg) {
        return seg.asSlice(0, 136);
    }
    /**
     * {@snippet :
 * void (*draw_glyphs)(struct _PangoRenderer*,struct _PangoFont*,struct _PangoGlyphString*,int,int);
     * }
     */
    public interface draw_glyphs {

        void apply(java.lang.foreign.MemorySegment _x0, java.lang.foreign.MemorySegment _x1, java.lang.foreign.MemorySegment _x2, int _x3, int _x4);
        static MemorySegment allocate(draw_glyphs fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1642.const$0, fi, constants$1641.const$5, scope);
        }
        static draw_glyphs ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment __x0, java.lang.foreign.MemorySegment __x1, java.lang.foreign.MemorySegment __x2, int __x3, int __x4) -> {
                try {
                    constants$1642.const$1.invokeExact(symbol, __x0, __x1, __x2, __x3, __x4);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle draw_glyphs$VH() {
        return constants$1642.const$2;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*draw_glyphs)(struct _PangoRenderer*,struct _PangoFont*,struct _PangoGlyphString*,int,int);
     * }
     */
    public static MemorySegment draw_glyphs$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1642.const$2.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*draw_glyphs)(struct _PangoRenderer*,struct _PangoFont*,struct _PangoGlyphString*,int,int);
     * }
     */
    public static void draw_glyphs$set(MemorySegment seg, MemorySegment x) {
        constants$1642.const$2.set(seg, x);
    }
    public static MemorySegment draw_glyphs$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1642.const$2.get(seg.asSlice(index*sizeof()));
    }
    public static void draw_glyphs$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1642.const$2.set(seg.asSlice(index*sizeof()), x);
    }
    public static draw_glyphs draw_glyphs(MemorySegment segment, Arena scope) {
        return draw_glyphs.ofAddress(draw_glyphs$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*draw_rectangle)(struct _PangoRenderer*,enum PangoRenderPart,int,int,int,int);
     * }
     */
    public interface draw_rectangle {

        void apply(java.lang.foreign.MemorySegment _x0, int _x1, int _x2, int _x3, int _x4, int _x5);
        static MemorySegment allocate(draw_rectangle fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1642.const$4, fi, constants$1642.const$3, scope);
        }
        static draw_rectangle ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment __x0, int __x1, int __x2, int __x3, int __x4, int __x5) -> {
                try {
                    constants$1642.const$5.invokeExact(symbol, __x0, __x1, __x2, __x3, __x4, __x5);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle draw_rectangle$VH() {
        return constants$1643.const$0;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*draw_rectangle)(struct _PangoRenderer*,enum PangoRenderPart,int,int,int,int);
     * }
     */
    public static MemorySegment draw_rectangle$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1643.const$0.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*draw_rectangle)(struct _PangoRenderer*,enum PangoRenderPart,int,int,int,int);
     * }
     */
    public static void draw_rectangle$set(MemorySegment seg, MemorySegment x) {
        constants$1643.const$0.set(seg, x);
    }
    public static MemorySegment draw_rectangle$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1643.const$0.get(seg.asSlice(index*sizeof()));
    }
    public static void draw_rectangle$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1643.const$0.set(seg.asSlice(index*sizeof()), x);
    }
    public static draw_rectangle draw_rectangle(MemorySegment segment, Arena scope) {
        return draw_rectangle.ofAddress(draw_rectangle$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*draw_error_underline)(struct _PangoRenderer*,int,int,int,int);
     * }
     */
    public interface draw_error_underline {

        void apply(java.lang.foreign.MemorySegment _x0, int _x1, int _x2, int _x3, int _x4);
        static MemorySegment allocate(draw_error_underline fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1643.const$2, fi, constants$1643.const$1, scope);
        }
        static draw_error_underline ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment __x0, int __x1, int __x2, int __x3, int __x4) -> {
                try {
                    constants$1643.const$3.invokeExact(symbol, __x0, __x1, __x2, __x3, __x4);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle draw_error_underline$VH() {
        return constants$1643.const$4;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*draw_error_underline)(struct _PangoRenderer*,int,int,int,int);
     * }
     */
    public static MemorySegment draw_error_underline$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1643.const$4.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*draw_error_underline)(struct _PangoRenderer*,int,int,int,int);
     * }
     */
    public static void draw_error_underline$set(MemorySegment seg, MemorySegment x) {
        constants$1643.const$4.set(seg, x);
    }
    public static MemorySegment draw_error_underline$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1643.const$4.get(seg.asSlice(index*sizeof()));
    }
    public static void draw_error_underline$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1643.const$4.set(seg.asSlice(index*sizeof()), x);
    }
    public static draw_error_underline draw_error_underline(MemorySegment segment, Arena scope) {
        return draw_error_underline.ofAddress(draw_error_underline$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*draw_shape)(struct _PangoRenderer*,struct _PangoAttrShape*,int,int);
     * }
     */
    public interface draw_shape {

        void apply(java.lang.foreign.MemorySegment _x0, java.lang.foreign.MemorySegment _x1, int _x2, int _x3);
        static MemorySegment allocate(draw_shape fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1643.const$5, fi, constants$1043.const$2, scope);
        }
        static draw_shape ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment __x0, java.lang.foreign.MemorySegment __x1, int __x2, int __x3) -> {
                try {
                    constants$1644.const$0.invokeExact(symbol, __x0, __x1, __x2, __x3);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle draw_shape$VH() {
        return constants$1644.const$1;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*draw_shape)(struct _PangoRenderer*,struct _PangoAttrShape*,int,int);
     * }
     */
    public static MemorySegment draw_shape$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1644.const$1.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*draw_shape)(struct _PangoRenderer*,struct _PangoAttrShape*,int,int);
     * }
     */
    public static void draw_shape$set(MemorySegment seg, MemorySegment x) {
        constants$1644.const$1.set(seg, x);
    }
    public static MemorySegment draw_shape$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1644.const$1.get(seg.asSlice(index*sizeof()));
    }
    public static void draw_shape$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1644.const$1.set(seg.asSlice(index*sizeof()), x);
    }
    public static draw_shape draw_shape(MemorySegment segment, Arena scope) {
        return draw_shape.ofAddress(draw_shape$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*draw_trapezoid)(struct _PangoRenderer*,enum PangoRenderPart,double,double,double,double,double,double);
     * }
     */
    public interface draw_trapezoid {

        void apply(java.lang.foreign.MemorySegment _x0, int _x1, double _x2, double _x3, double _x4, double _x5, double _x6, double _x7);
        static MemorySegment allocate(draw_trapezoid fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1644.const$3, fi, constants$1644.const$2, scope);
        }
        static draw_trapezoid ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment __x0, int __x1, double __x2, double __x3, double __x4, double __x5, double __x6, double __x7) -> {
                try {
                    constants$1644.const$4.invokeExact(symbol, __x0, __x1, __x2, __x3, __x4, __x5, __x6, __x7);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle draw_trapezoid$VH() {
        return constants$1644.const$5;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*draw_trapezoid)(struct _PangoRenderer*,enum PangoRenderPart,double,double,double,double,double,double);
     * }
     */
    public static MemorySegment draw_trapezoid$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1644.const$5.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*draw_trapezoid)(struct _PangoRenderer*,enum PangoRenderPart,double,double,double,double,double,double);
     * }
     */
    public static void draw_trapezoid$set(MemorySegment seg, MemorySegment x) {
        constants$1644.const$5.set(seg, x);
    }
    public static MemorySegment draw_trapezoid$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1644.const$5.get(seg.asSlice(index*sizeof()));
    }
    public static void draw_trapezoid$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1644.const$5.set(seg.asSlice(index*sizeof()), x);
    }
    public static draw_trapezoid draw_trapezoid(MemorySegment segment, Arena scope) {
        return draw_trapezoid.ofAddress(draw_trapezoid$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*draw_glyph)(struct _PangoRenderer*,struct _PangoFont*,unsigned int,double,double);
     * }
     */
    public interface draw_glyph {

        void apply(java.lang.foreign.MemorySegment _x0, java.lang.foreign.MemorySegment _x1, int _x2, double _x3, double _x4);
        static MemorySegment allocate(draw_glyph fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1645.const$1, fi, constants$1645.const$0, scope);
        }
        static draw_glyph ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment __x0, java.lang.foreign.MemorySegment __x1, int __x2, double __x3, double __x4) -> {
                try {
                    constants$1645.const$2.invokeExact(symbol, __x0, __x1, __x2, __x3, __x4);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle draw_glyph$VH() {
        return constants$1645.const$3;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*draw_glyph)(struct _PangoRenderer*,struct _PangoFont*,unsigned int,double,double);
     * }
     */
    public static MemorySegment draw_glyph$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1645.const$3.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*draw_glyph)(struct _PangoRenderer*,struct _PangoFont*,unsigned int,double,double);
     * }
     */
    public static void draw_glyph$set(MemorySegment seg, MemorySegment x) {
        constants$1645.const$3.set(seg, x);
    }
    public static MemorySegment draw_glyph$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1645.const$3.get(seg.asSlice(index*sizeof()));
    }
    public static void draw_glyph$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1645.const$3.set(seg.asSlice(index*sizeof()), x);
    }
    public static draw_glyph draw_glyph(MemorySegment segment, Arena scope) {
        return draw_glyph.ofAddress(draw_glyph$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*part_changed)(struct _PangoRenderer*,enum PangoRenderPart);
     * }
     */
    public interface part_changed {

        void apply(java.lang.foreign.MemorySegment _x0, int _x1);
        static MemorySegment allocate(part_changed fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1645.const$4, fi, constants$40.const$2, scope);
        }
        static part_changed ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment __x0, int __x1) -> {
                try {
                    constants$509.const$5.invokeExact(symbol, __x0, __x1);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle part_changed$VH() {
        return constants$1645.const$5;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*part_changed)(struct _PangoRenderer*,enum PangoRenderPart);
     * }
     */
    public static MemorySegment part_changed$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1645.const$5.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*part_changed)(struct _PangoRenderer*,enum PangoRenderPart);
     * }
     */
    public static void part_changed$set(MemorySegment seg, MemorySegment x) {
        constants$1645.const$5.set(seg, x);
    }
    public static MemorySegment part_changed$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1645.const$5.get(seg.asSlice(index*sizeof()));
    }
    public static void part_changed$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1645.const$5.set(seg.asSlice(index*sizeof()), x);
    }
    public static part_changed part_changed(MemorySegment segment, Arena scope) {
        return part_changed.ofAddress(part_changed$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*begin)(struct _PangoRenderer*);
     * }
     */
    public interface begin {

        void apply(java.lang.foreign.MemorySegment display);
        static MemorySegment allocate(begin fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1646.const$0, fi, constants$13.const$1, scope);
        }
        static begin ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment _display) -> {
                try {
                    constants$13.const$3.invokeExact(symbol, _display);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle begin$VH() {
        return constants$1646.const$1;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*begin)(struct _PangoRenderer*);
     * }
     */
    public static MemorySegment begin$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1646.const$1.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*begin)(struct _PangoRenderer*);
     * }
     */
    public static void begin$set(MemorySegment seg, MemorySegment x) {
        constants$1646.const$1.set(seg, x);
    }
    public static MemorySegment begin$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1646.const$1.get(seg.asSlice(index*sizeof()));
    }
    public static void begin$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1646.const$1.set(seg.asSlice(index*sizeof()), x);
    }
    public static begin begin(MemorySegment segment, Arena scope) {
        return begin.ofAddress(begin$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*end)(struct _PangoRenderer*);
     * }
     */
    public interface end {

        void apply(java.lang.foreign.MemorySegment display);
        static MemorySegment allocate(end fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1646.const$2, fi, constants$13.const$1, scope);
        }
        static end ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment _display) -> {
                try {
                    constants$13.const$3.invokeExact(symbol, _display);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle end$VH() {
        return constants$1646.const$3;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*end)(struct _PangoRenderer*);
     * }
     */
    public static MemorySegment end$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1646.const$3.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*end)(struct _PangoRenderer*);
     * }
     */
    public static void end$set(MemorySegment seg, MemorySegment x) {
        constants$1646.const$3.set(seg, x);
    }
    public static MemorySegment end$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1646.const$3.get(seg.asSlice(index*sizeof()));
    }
    public static void end$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1646.const$3.set(seg.asSlice(index*sizeof()), x);
    }
    public static end end(MemorySegment segment, Arena scope) {
        return end.ofAddress(end$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*prepare_run)(struct _PangoRenderer*,struct _PangoGlyphItem*);
     * }
     */
    public interface prepare_run {

        void apply(java.lang.foreign.MemorySegment tag, java.lang.foreign.MemorySegment data);
        static MemorySegment allocate(prepare_run fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1646.const$4, fi, constants$13.const$4, scope);
        }
        static prepare_run ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment _tag, java.lang.foreign.MemorySegment _data) -> {
                try {
                    constants$14.const$0.invokeExact(symbol, _tag, _data);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle prepare_run$VH() {
        return constants$1646.const$5;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*prepare_run)(struct _PangoRenderer*,struct _PangoGlyphItem*);
     * }
     */
    public static MemorySegment prepare_run$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1646.const$5.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*prepare_run)(struct _PangoRenderer*,struct _PangoGlyphItem*);
     * }
     */
    public static void prepare_run$set(MemorySegment seg, MemorySegment x) {
        constants$1646.const$5.set(seg, x);
    }
    public static MemorySegment prepare_run$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1646.const$5.get(seg.asSlice(index*sizeof()));
    }
    public static void prepare_run$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1646.const$5.set(seg.asSlice(index*sizeof()), x);
    }
    public static prepare_run prepare_run(MemorySegment segment, Arena scope) {
        return prepare_run.ofAddress(prepare_run$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*draw_glyph_item)(struct _PangoRenderer*,char*,struct _PangoGlyphItem*,int,int);
     * }
     */
    public interface draw_glyph_item {

        void apply(java.lang.foreign.MemorySegment _x0, java.lang.foreign.MemorySegment _x1, java.lang.foreign.MemorySegment _x2, int _x3, int _x4);
        static MemorySegment allocate(draw_glyph_item fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1647.const$0, fi, constants$1641.const$5, scope);
        }
        static draw_glyph_item ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return (java.lang.foreign.MemorySegment __x0, java.lang.foreign.MemorySegment __x1, java.lang.foreign.MemorySegment __x2, int __x3, int __x4) -> {
                try {
                    constants$1642.const$1.invokeExact(symbol, __x0, __x1, __x2, __x3, __x4);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle draw_glyph_item$VH() {
        return constants$1647.const$1;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*draw_glyph_item)(struct _PangoRenderer*,char*,struct _PangoGlyphItem*,int,int);
     * }
     */
    public static MemorySegment draw_glyph_item$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1647.const$1.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*draw_glyph_item)(struct _PangoRenderer*,char*,struct _PangoGlyphItem*,int,int);
     * }
     */
    public static void draw_glyph_item$set(MemorySegment seg, MemorySegment x) {
        constants$1647.const$1.set(seg, x);
    }
    public static MemorySegment draw_glyph_item$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1647.const$1.get(seg.asSlice(index*sizeof()));
    }
    public static void draw_glyph_item$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1647.const$1.set(seg.asSlice(index*sizeof()), x);
    }
    public static draw_glyph_item draw_glyph_item(MemorySegment segment, Arena scope) {
        return draw_glyph_item.ofAddress(draw_glyph_item$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*_pango_reserved2)();
     * }
     */
    public interface _pango_reserved2 {

        void apply();
        static MemorySegment allocate(_pango_reserved2 fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1647.const$2, fi, constants$7.const$5, scope);
        }
        static _pango_reserved2 ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return () -> {
                try {
                    constants$64.const$1.invokeExact(symbol);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle _pango_reserved2$VH() {
        return constants$1647.const$3;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*_pango_reserved2)();
     * }
     */
    public static MemorySegment _pango_reserved2$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1647.const$3.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*_pango_reserved2)();
     * }
     */
    public static void _pango_reserved2$set(MemorySegment seg, MemorySegment x) {
        constants$1647.const$3.set(seg, x);
    }
    public static MemorySegment _pango_reserved2$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1647.const$3.get(seg.asSlice(index*sizeof()));
    }
    public static void _pango_reserved2$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1647.const$3.set(seg.asSlice(index*sizeof()), x);
    }
    public static _pango_reserved2 _pango_reserved2(MemorySegment segment, Arena scope) {
        return _pango_reserved2.ofAddress(_pango_reserved2$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*_pango_reserved3)();
     * }
     */
    public interface _pango_reserved3 {

        void apply();
        static MemorySegment allocate(_pango_reserved3 fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1647.const$4, fi, constants$7.const$5, scope);
        }
        static _pango_reserved3 ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return () -> {
                try {
                    constants$64.const$1.invokeExact(symbol);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle _pango_reserved3$VH() {
        return constants$1647.const$5;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*_pango_reserved3)();
     * }
     */
    public static MemorySegment _pango_reserved3$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1647.const$5.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*_pango_reserved3)();
     * }
     */
    public static void _pango_reserved3$set(MemorySegment seg, MemorySegment x) {
        constants$1647.const$5.set(seg, x);
    }
    public static MemorySegment _pango_reserved3$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1647.const$5.get(seg.asSlice(index*sizeof()));
    }
    public static void _pango_reserved3$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1647.const$5.set(seg.asSlice(index*sizeof()), x);
    }
    public static _pango_reserved3 _pango_reserved3(MemorySegment segment, Arena scope) {
        return _pango_reserved3.ofAddress(_pango_reserved3$get(segment), scope);
    }
    /**
     * {@snippet :
 * void (*_pango_reserved4)();
     * }
     */
    public interface _pango_reserved4 {

        void apply();
        static MemorySegment allocate(_pango_reserved4 fi, Arena scope) {
            return RuntimeHelper.upcallStub(constants$1648.const$0, fi, constants$7.const$5, scope);
        }
        static _pango_reserved4 ofAddress(MemorySegment addr, Arena arena) {
            MemorySegment symbol = addr.reinterpret(arena, null);
            return () -> {
                try {
                    constants$64.const$1.invokeExact(symbol);
                } catch (Throwable ex$) {
                    throw new AssertionError("should not reach here", ex$);
                }
            };
        }
    }

    public static VarHandle _pango_reserved4$VH() {
        return constants$1648.const$1;
    }
    /**
     * Getter for field:
     * {@snippet :
     * void (*_pango_reserved4)();
     * }
     */
    public static MemorySegment _pango_reserved4$get(MemorySegment seg) {
        return (java.lang.foreign.MemorySegment)constants$1648.const$1.get(seg);
    }
    /**
     * Setter for field:
     * {@snippet :
     * void (*_pango_reserved4)();
     * }
     */
    public static void _pango_reserved4$set(MemorySegment seg, MemorySegment x) {
        constants$1648.const$1.set(seg, x);
    }
    public static MemorySegment _pango_reserved4$get(MemorySegment seg, long index) {
        return (java.lang.foreign.MemorySegment)constants$1648.const$1.get(seg.asSlice(index*sizeof()));
    }
    public static void _pango_reserved4$set(MemorySegment seg, long index, MemorySegment x) {
        constants$1648.const$1.set(seg.asSlice(index*sizeof()), x);
    }
    public static _pango_reserved4 _pango_reserved4(MemorySegment segment, Arena scope) {
        return _pango_reserved4.ofAddress(_pango_reserved4$get(segment), scope);
    }
    public static long sizeof() { return $LAYOUT().byteSize(); }
    public static MemorySegment allocate(SegmentAllocator allocator) { return allocator.allocate($LAYOUT()); }
    public static MemorySegment allocateArray(long len, SegmentAllocator allocator) {
        return allocator.allocate(MemoryLayout.sequenceLayout(len, $LAYOUT()));
    }
    public static MemorySegment ofAddress(MemorySegment addr, Arena scope) { return RuntimeHelper.asArray(addr, $LAYOUT(), 1, scope); }
}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy