From 451c14ce9f4136194867bda2f0277df4b115eaba Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Wed, 8 May 2024 11:25:08 +0200 Subject: [PATCH] Comment redefinitions --- raylib/external/RGFW.h | 46 +++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/raylib/external/RGFW.h b/raylib/external/RGFW.h index f806744..903642f 100644 --- a/raylib/external/RGFW.h +++ b/raylib/external/RGFW.h @@ -893,13 +893,13 @@ typedef struct { i32 x, y; } RGFW_vector; typedef void NSApplication; typedef void NSScreen; typedef void NSEvent; - typedef void NSString; + //typedef void NSString; typedef void NSOpenGLContext; typedef void NSPasteboard; typedef void NSColor; - typedef void NSArray; + //typedef void NSArray; typedef void NSImageRep; - typedef void NSImage; + //typedef void NSImage; typedef void NSOpenGLView; @@ -997,29 +997,29 @@ typedef struct { i32 x, y; } RGFW_vector; /* Creates an Objective-C method (SEL) from a regular C function with the option to set the register name.*/ #define si_func_to_SEL_with_name(class_name, register_name, function) si_impl_func_to_SEL_with_name(class_name, register_name":", function) - NSRect NSMakeRect(double x, double y, double width, double height) { - NSRect r; - r.origin.x = x; - r.origin.y = y; - r.size.width = width; - r.size.height = height; + //NSRect NSMakeRect(double x, double y, double width, double height) { + //NSRect r; + //r.origin.x = x; + //r.origin.y = y; + //r.size.width = width; + //r.size.height = height; - return r; - } + //return r; + //} - NSPoint NSMakePoint(double x, double y) { - NSPoint point; - point.x = x; - point.y = y; - return point; - } + //NSPoint NSMakePoint(double x, double y) { + //NSPoint point; + //point.x = x; + //point.y = y; + //return point; + //} - NSSize NSMakeSize(double w, double h) { - NSSize size; - size.width = w; - size.height = h; - return size; - } + //NSSize NSMakeSize(double w, double h) { + //NSSize size; + //size.width = w; + //size.height = h; + //return size; + //} void* si_array_init(void* allocator, size_t sizeof_element, size_t count) { void* array = si_array_init_reserve(sizeof_element, count);