mirror of
https://github.com/nicbarker/clay.git
synced 2026-02-06 12:48:49 +00:00
Fix issues with multiple translation units (#20)
This commit is contained in:
parent
b2d922c78d
commit
332837befd
11 changed files with 449 additions and 387 deletions
|
|
@ -18,9 +18,11 @@ _An example GUI application built with clay_
|
|||
|
||||
## Quick Start
|
||||
|
||||
1. Download or clone clay.h and include it.
|
||||
1. Download or clone clay.h and include it after defining `CLAY_IMPLEMENTATION` in one file.
|
||||
|
||||
```C
|
||||
// Must be defined in one file, _before_ #include "clay.h"
|
||||
#define CLAY_IMPLEMENTATION
|
||||
#include "clay.h"
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue