Graphviz 13.0.0~dev.20250607.1528
Loading...
Searching...
No Matches
itos.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdio.h>
4
6struct itos_ {
7 // space to print a NUL-terminated ≤128-bit signed integer
8 char str[41];
9};
10
18static inline struct itos_ itos_(long long i) {
19 struct itos_ s;
20 snprintf(s.str, sizeof(s.str), "%lld", i);
21 return s;
22}
23
43#define ITOS(i) (itos_(i).str)
return type of itos_
Definition itos.h:6
char str[41]
Definition itos.h:8
Definition grammar.c:89