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
6
struct
itos_
{
7
// space to print a NUL-terminated ≤128-bit signed integer
8
char
str
[41];
9
};
10
18
static
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)
itos_
return type of itos_
Definition
itos.h:6
itos_::str
char str[41]
Definition
itos.h:8
s
Definition
grammar.c:89
lib
util
itos.h
Generated by
1.9.8