quote
$(Expr(:toplevel, quote
    begin
        PIXBUF_MAJOR = 2
        PIXBUF_MICRO = 8
        PIXBUF_MINOR = 42
        PIXBUF_VERSION = "2.42.8"
        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
    end
end))
end
