From f02cb2ad07b1c6538278e9f78d9ee8d5821f4f09 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Tue, 5 Mar 2024 17:00:03 -0500 Subject: [PATCH] Actually that won't work --- lua/imlib2_old.pkg | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lua/imlib2_old.pkg b/lua/imlib2_old.pkg index a12f6d59..17bf9fa6 100644 --- a/lua/imlib2_old.pkg +++ b/lua/imlib2_old.pkg @@ -59,13 +59,15 @@ typedef enum _imlib_load_error ImlibLoadError; typedef enum _imlib_text_direction Imlib_Text_Direction; typedef enum _imlib_TTF_encoding Imlib_TTF_Encoding; -typedef struct { +struct _imlib_border { int left, right, top, bottom; -} Imlib_Border; +}; +typedef struct _imlib_border Imlib_Border; -typedef struct { +struct _imlib_color { int alpha, red, green, blue; -} Imlib_Color; +}; +typedef struct _imlib_color Imlib_Color; Imlib_Context imlib_context_new(void); void imlib_context_free(Imlib_Context context);