ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_rabook_xml_shim_test_internal.h
Go to the documentation of this file.
1
11
12#pragma once
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18#include <stddef.h>
19#include <stdint.h>
20
21#include "ra8_attributes.h"
22#include "ra8_err.h"
23#include "ra8_rabook_xml_shim.h"
24#include "rabook_compile.h"
25
53 size_t source_len,
55
85 size_t source_len,
88
89#ifdef __cplusplus
90}
91#endif
Annotation-attribute framework macros for ra8-firmware.
#define RA8_TEST_HELPER
Mark a symbol as externally-linked but only callable from tests.
#define RA8_NODISCARD
Warn at any call site that discards the function's return value.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Definition ra8_err.h:546
Bounded XHTML-to-RABOOK streaming builder.
ra8_err_t priv_ra8_rabook_xml_select_unvalidated_test(const uint8_t *source, size_t source_len, ra8_rabook_xml_workspace_t *workspace)
Run the XML subtree-selection pass without public validation.
ra8_err_t priv_ra8_rabook_xml_emit_unvalidated_test(const uint8_t *source, size_t source_len, ra8_rabook_ctx_t *ctx, ra8_rabook_xml_workspace_t *workspace)
Run XML subtree emission without public validation or rollback.
Zero-heap builder that emits a RABOOK1 blob (the #149 compiler back-end).
Builder state: the arenas plus running counts and a sticky-fail flag.
Caller-owned storage for one parser invocation.