Add notice for defining implementation macro at the top of the file

This commit is contained in:
Nic Barker 2024-09-20 20:55:45 +12:00
parent 332837befd
commit 0903440a34

10
clay.h
View File

@ -1,6 +1,16 @@
#pragma once
// VERSION: 0.11
/*
NOTE: In order to use this library you must define
the following macro in exactly one file, _before_ including clay.h:
#define CLAY_IMPLEMENTATION
#include "clay.h"
See the examples folder for details.
*/
#include "stdint.h"
#include "stdbool.h"
#include "stddef.h"