Reduct  v1.0.4-3-gdaf0d70
A functional and immutable language.
Loading...
Searching...
No Matches
stringify.h
Go to the documentation of this file.
1#ifndef REDUCT_STRINGIFY_H
2#define REDUCT_STRINGIFY_H 1
3
4#include "core.h"
5#include "handle.h"
6
7/**
8 * @file stringify.h
9 * @brief Stringification.
10 * @defgroup stringify Stringification
11 *
12 * @{
13 */
14
15/**
16 * @brief Converts a Reduct handle to its string representation.
17 *
18 * @param reduct The Reduct structure.
19 * @param handle The handle to stringify.
20 * @param buffer The destination buffer.
21 * @param size The size of the destination buffer.
22 * @return The number of characters that would have been written if the buffer was large enough, excluding the null
23 * terminator.
24 */
26
27/** @} */
28
29#endif
Core definitions and structures.
size_t reduct_size_t
Definition defs.h:100
reduct_uint64_t reduct_handle_t
Handle type.
Definition defs.h:189
#define REDUCT_API
Definition defs.h:7
REDUCT_API reduct_size_t reduct_stringify(reduct_t *reduct, reduct_handle_t *handle, char *buffer, reduct_size_t size)
Converts a Reduct handle to its string representation.
Handle management.
State structure.
Definition core.h:61