From 951d785deb102e9e5dc998b2807181e660d1d633 Mon Sep 17 00:00:00 2001 From: Nic Barker Date: Sun, 26 Jan 2025 15:43:55 +1300 Subject: [PATCH] [Documentation] Fix incorrect type information in README for CLAY_IDI --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4507651..abecac9 100644 --- a/README.md +++ b/README.md @@ -788,7 +788,7 @@ if (buttonIsHovered && leftMouseButtonPressed) { ### CLAY_IDI() -`Clay_ElementId CLAY_IDI(char *label, int index)` +`Clay_ElementId CLAY_IDI(char *label, int32_t index)` An offset version of [CLAY_ID](#clay_id). Generates a [Clay_ElementId](#clay_elementid) string id from the provided `char *label`, combined with the `int index`. Used for generating ids for sequential elements (such as in a `for` loop) without having to construct dynamic strings at runtime. @@ -835,7 +835,7 @@ for (int i = 0; i < headerButtons.length; i++) { ### CLAY_IDI_LOCAL() -`Clay_ElementId CLAY_IDI_LOCAL(char *label, int index)` +`Clay_ElementId CLAY_IDI_LOCAL(char *label, int32_t index)` An offset version of [CLAY_ID_LOCAL](#clay_local_id). Generates a [Clay_ElementId](#clay_elementid) string id from the provided `char *label`, combined with the `int index`. Used for generating ids for sequential elements (such as in a `for` loop) without having to construct dynamic strings at runtime.