Fix issues with multiple translation units (#20)

This commit is contained in:
Nic Barker 2024-09-20 20:46:48 +12:00 committed by GitHub
parent b2d922c78d
commit 332837befd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 449 additions and 387 deletions

View file

@ -1,6 +1,7 @@
#define CLAY_EXTEND_CONFIG_RECTANGLE Clay_String link; bool cursorPointer;
#define CLAY_EXTEND_CONFIG_IMAGE Clay_String sourceURL;
#define CLAY_EXTEND_CONFIG_TEXT bool disablePointerEvents;
#define CLAY_IMPLEMENTATION
#include "../../clay.h"
double windowWidth = 1024, windowHeight = 768;

View file

@ -1,3 +1,4 @@
#define CLAY_IMPLEMENTATION
#include "../../clay.h"
#include "../../renderers/raylib/clay_renderer_raylib.c"