commit 00c3d948d49b6b6fd8ed66cd9e0b1db471ea19b0
parent f0393aad5b2cd3b872d09793efcf74bdc446fd2b
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date: Sat, 25 Oct 2025 23:19:45 -0300
patch: add necessary patches
Diffstat:
2 files changed, 134 insertions(+), 0 deletions(-)
diff --git a/patch/api.odin.patch b/patch/api.odin.patch
@@ -0,0 +1,124 @@
+--- binding/api.odin 2025-10-25 22:52:47.889435313 -0300
++++ patch/api.odin 2025-10-25 22:55:03.919151906 -0300
+@@ -17,121 +17,6 @@
+
+ BYTE_ORDER :: 1234
+
+-Random :: struct {}
+-FileCore :: struct {}
+-FileInfo :: struct {}
+-RuntimeScopeCore :: struct {}
+-RuntimeBuildInfo :: struct {}
+-RuntimeSystemInfo :: struct {}
+-RuntimeResourceInfo :: struct {}
+-Rgba :: struct {}
+-Rgba32 :: struct {}
+-Rgba64 :: struct {}
+-Point :: struct {}
+-PointI :: struct {}
+-Size :: struct {}
+-SizeI :: struct {}
+-Box :: struct {}
+-BoxI :: struct {}
+-Rect :: struct {}
+-RectI :: struct {}
+-Line :: struct {}
+-Triangle :: struct {}
+-RoundRect :: struct {}
+-Circle :: struct {}
+-Ellipse :: struct {}
+-Arc :: struct {}
+-Matrix2D :: struct {}
+-ApproximationOptions :: struct {}
+-StrokeOptionsCore :: struct {}
+-FormatInfo :: struct {}
+-ObjectCore :: struct {}
+-ObjectImpl :: struct {}
+-ObjectVirt :: struct {}
+-ObjectVirtBase :: struct {}
+-ObjectInfo :: struct {}
+-ObjectDetail :: struct {}
+-ArrayCore :: struct {}
+-ArrayImpl :: struct {}
+-BitArrayCore :: struct {}
+-BitArrayImpl :: struct {}
+-BitSetCore :: struct {}
+-BitSetData :: struct {}
+-BitSetImpl :: struct {}
+-BitSetSegment :: struct {}
+-BitSetBuilderCore :: struct {}
+-StringCore :: struct {}
+-StringImpl :: struct {}
+-PathCore :: struct {}
+-PathImpl :: struct {}
+-PathView :: struct {}
+-ImageData :: struct {}
+-ImageInfo :: struct {}
+-ImageCore :: struct {}
+-ImageImpl :: struct {}
+-ImageCodecCore :: struct {}
+-ImageCodecImpl :: struct {}
+-ImageCodecVirt :: struct {}
+-ImageDecoderCore :: struct {}
+-ImageDecoderImpl :: struct {}
+-ImageDecoderVirt :: struct {}
+-ImageEncoderCore :: struct {}
+-ImageEncoderImpl :: struct {}
+-ImageEncoderVirt :: struct {}
+-PixelConverterCore :: struct {}
+-PixelConverterOptions :: struct {}
+-GradientCore :: struct {}
+-GradientImpl :: struct {}
+-GradientStop :: struct {}
+-LinearGradientValues :: struct {}
+-RadialGradientValues :: struct {}
+-ConicGradientValues :: struct {}
+-PatternCore :: struct {}
+-PatternImpl :: struct {}
+-ContextCookie :: struct {}
+-ContextCreateInfo :: struct {}
+-ContextHints :: struct {}
+-ContextState :: struct {}
+-ContextCore :: struct {}
+-ContextImpl :: struct {}
+-ContextVirt :: struct {}
+-GlyphBufferCore :: struct {}
+-GlyphBufferImpl :: struct {}
+-GlyphInfo :: struct {}
+-GlyphMappingState :: struct {}
+-GlyphOutlineSinkInfo :: struct {}
+-GlyphPlacement :: struct {}
+-GlyphRun :: struct {}
+-FontCoverageInfo :: struct {}
+-FontFaceInfo :: struct {}
+-FontQueryProperties :: struct {}
+-FontFeatureItem :: struct {}
+-FontFeatureSettingsCore :: struct {}
+-FontFeatureSettingsImpl :: struct {}
+-FontFeatureSettingsView :: struct {}
+-FontDesignMetrics :: struct {}
+-FontMatrix :: struct {}
+-FontMetrics :: struct {}
+-FontPanoseInfo :: struct {}
+-FontTable :: struct {}
+-FontVariationItem :: struct {}
+-FontVariationSettingsCore :: struct {}
+-FontVariationSettingsImpl :: struct {}
+-FontVariationSettingsView :: struct {}
+-TextMetrics :: struct {}
+-FontCore :: struct {}
+-FontImpl :: struct {}
+-FontDataCore :: struct {}
+-FontDataImpl :: struct {}
+-FontDataVirt :: struct {}
+-FontFaceCore :: struct {}
+-FontFaceImpl :: struct {}
+-FontFaceVirt :: struct {}
+-FontManagerCore :: struct {}
+-FontManagerImpl :: struct {}
+-FontManagerVirt :: struct {}
+-VarCore :: struct {}
+-
+ //! \ingroup bl_globals
+ //!
+ //! Result code used by most Blend2D functions (32-bit unsigned integer).
diff --git a/patch/object.odin.patch b/patch/object.odin.patch
@@ -0,0 +1,10 @@
+--- binding/object.odin 2025-10-25 22:52:47.970068163 -0300
++++ patch/object.odin 2025-10-25 22:56:46.076923967 -0300
+@@ -14,6 +14,7 @@
+ foreign import lib "libblend2d.a"
+ }
+
++ObjectImpl :: struct {}
+
+ //! \cond INTERNAL
+ //! Defines a start offset of each field or flag in object info - the shift can be then used to get/set value from/to