Herb C Reference
Loading...
Searching...
No Matches
util.h
Go to the documentation of this file.
1#ifndef HERB_UTIL_H
2#define HERB_UTIL_H
3
4#include "util/hb_string.h"
5#include <stdbool.h>
6#include <stdlib.h>
7
8struct hb_allocator;
9
10int is_newline(int character);
11int is_whitespace(int character);
12hb_string_T escape_newlines(struct hb_allocator* allocator, hb_string_T input);
13hb_string_T quoted_string(struct hb_allocator* allocator, hb_string_T input);
14
15char* convert_underscores_to_dashes(const char* input);
16
17#endif
hb_string_T quoted_string(struct hb_allocator *allocator, hb_string_T input)
int is_whitespace(int character)
Definition util.c:14
hb_string_T escape_newlines(struct hb_allocator *allocator, hb_string_T input)
char * convert_underscores_to_dashes(const char *input)
Definition util.c:58
int is_newline(int character)
Definition util.c:10