Graphviz 13.1.0~dev.20250626.0830
Loading...
Searching...
No Matches
agstrcanon.h
Go to the documentation of this file.
1
3
4#pragma once
5
6#include <stddef.h>
7#include <string.h>
8#include <util/alloc.h>
9
11static inline size_t agstrcanon_bytes(const char *str) {
12 return 2 * strlen(str) + 2;
13}
14
16static inline char *agstrcanon_buffer(const char *str) {
18}
static size_t agstrcanon_bytes(const char *str)
how many bytes are needed to canonicalize the given string
Definition agstrcanon.h:11
static char * agstrcanon_buffer(const char *str)
get a buffer suitable for passing into agstrcanon
Definition agstrcanon.h:16
Memory allocation wrappers that exit on failure.
static void * gv_alloc(size_t size)
Definition alloc.h:47
textitem scanner parser str
Definition htmlparse.y:224