quote
$(Expr(:toplevel, quote
    begin
        const PIXBUF_MAJOR = 2
        const PIXBUF_MICRO = 10
        const PIXBUF_MINOR = 42
        const PIXBUF_VERSION = "2.42.10"
        begin
            @cenum Colorspace::Int32 Colorspace_RGB = 0
            (GLib.g_type(::Type{T}) where T <: Colorspace) = begin
                    ccall(("gdk_colorspace_get_type", libgdkpixbuf), GType, ())
                end
        end
        begin
            @cenum InterpType::Int32 InterpType_NEAREST = 0 InterpType_TILES = 1 InterpType_BILINEAR = 2 InterpType_HYPER = 3
            (GLib.g_type(::Type{T}) where T <: InterpType) = begin
                    ccall(("gdk_interp_type_get_type", libgdkpixbuf), GType, ())
                end
        end
        begin
            @cenum PixbufError::Int32 PixbufError_CORRUPT_IMAGE = 0 PixbufError_INSUFFICIENT_MEMORY = 1 PixbufError_BAD_OPTION = 2 PixbufError_UNKNOWN_TYPE = 3 PixbufError_UNSUPPORTED_OPERATION = 4 PixbufError_FAILED = 5 PixbufError_INCOMPLETE_ANIMATION = 6
            (GLib.g_type(::Type{T}) where T <: PixbufError) = begin
                    ccall(("gdk_pixbuf_error_get_type", libgdkpixbuf), GType, ())
                end
        end
        begin
            @cenum PixbufRotation::Int32 PixbufRotation_NONE = 0 PixbufRotation_COUNTERCLOCKWISE = 90 PixbufRotation_UPSIDEDOWN = 180 PixbufRotation_CLOCKWISE = 270
            (GLib.g_type(::Type{T}) where T <: PixbufRotation) = begin
                    ccall(("gdk_pixbuf_rotation_get_type", libgdkpixbuf), GType, ())
                end
        end
        @bitflag PixbufFormatFlags::UInt32 PixbufFormatFlags_WRITABLE = 1 PixbufFormatFlags_SCALABLE = 2 PixbufFormatFlags_THREADSAFE = 4 PixbufFormatFlags_NONE = 0
        @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_MAJOR.html)." PIXBUF_MAJOR
        @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_MICRO.html)." PIXBUF_MICRO
        @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_MINOR.html)." PIXBUF_MINOR
        @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/const.PIXBUF_VERSION.html)." PIXBUF_VERSION
        @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.Colorspace.html)." Colorspace
        @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.InterpType.html)." InterpType
        @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.PixbufError.html)." PixbufError
        @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/enum.PixbufRotation.html)." PixbufRotation
        @doc "See the [GTK docs](https://docs.gtk.org/gdk-pixbuf/flags.PixbufFormatFlags.html)." PixbufFormatFlags
    end
end))
end
