Reduct
v1.0.4-3-gdaf0d70
A functional and immutable language.
Theme:
Default
Round
Robot
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
*/
25
REDUCT_API
reduct_size_t
reduct_stringify
(
reduct_t
* reduct,
reduct_handle_t
* handle,
char
* buffer,
reduct_size_t
size);
26
27
/** @} */
28
29
#endif
core.h
Core definitions and structures.
reduct_size_t
size_t reduct_size_t
Definition
defs.h:100
reduct_handle_t
reduct_uint64_t reduct_handle_t
Handle type.
Definition
defs.h:189
REDUCT_API
#define REDUCT_API
Definition
defs.h:7
reduct_stringify
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.
Definition
stringify_impl.h:90
handle.h
Handle management.
reduct_t
State structure.
Definition
core.h:61
reduct
stringify.h
Generated on Tue Apr 28 2026 14:58:52 for Reduct by
1.9.8