From 0903440a3442cea571104bf00f23fb50ab4fa616 Mon Sep 17 00:00:00 2001 From: Nic Barker Date: Fri, 20 Sep 2024 20:55:45 +1200 Subject: [PATCH] Add notice for defining implementation macro at the top of the file --- clay.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/clay.h b/clay.h index d14e396..825e122 100644 --- a/clay.h +++ b/clay.h @@ -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"