ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
zalgo.h
Go to the documentation of this file.
1#pragma once
2
3/* Existing buffer budgets in bytes, including NUL for text storage. */
4#define ZALGO_MAX_MARKS 10
5
7#include <stddef.h>
8#include <stdint.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
19asciichat_error_t zalgo_apply(const char *input, size_t length, int level, size_t max_output_bytes, char **output);
20
22unsigned zalgo_cell_marks(uint32_t row, uint32_t col, int level, uint16_t marks[ZALGO_MAX_MARKS]);
23
24#ifdef __cplusplus
25}
26#endif
Synchronized per-thread pending error stacks and value snapshots. SET_ERRNO pushes,...
unsigned short uint16_t
unsigned int uint32_t
asciichat_error_t
Error and exit codes - unified status values (0-255).
Definition error_codes.h:48
asciichat_error_t zalgo_apply(const char *input, size_t length, int level, size_t max_output_bytes, char **output)
Definition zalgo.c:68
#define ZALGO_MAX_MARKS
Definition zalgo.h:4
unsigned zalgo_cell_marks(uint32_t row, uint32_t col, int level, uint16_t marks[10])