Skip to content

Commit 7480d45

Browse files
authored
Update 2025-11-30-comptime-c-functions.md
1 parent 8f9125d commit 7480d45

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

_posts/2025-11-30-comptime-c-functions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ int main(void) {
126126
127127
Clang requires `-O2`, while GCC requires `-O3`.
128128
129-
Copy of the code on [Compiler Explorer](https://godbolt.org/z/xfo4Wa4vq):
129+
Copy of the code on [Compiler Explorer](https://godbolt.org/z/Yjz9n5bnM):
130130
131131
```c
132132
#include <assert.h>
@@ -192,14 +192,14 @@ static inline bool hashmap_get(hashmap *m, const void *key, void *out) {
192192
return false;
193193
}
194194
195-
// Type-safe wrapper for (int, char*) map
195+
// Entry of (int, char*) map
196196
typedef struct {
197197
bool occupied;
198198
int key;
199199
char *value;
200200
} IntStrMap_entry;
201201
202-
// Type-safe wrapper for (int, double) map
202+
// Entry of (int, double) map
203203
typedef struct {
204204
bool occupied;
205205
int key;

0 commit comments

Comments
 (0)