ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
soup_context_t Struct Reference

Caller-owned bounded workspace for puzzle solving (zero-heap). More...

#include <alphabet_soup.h>

Collaboration diagram for soup_context_t:

Data Fields

soup_grid_t grid
 Board grid storage.
char word_buffer [k_soup_max_word_chars]
 Current word buffer.
char search_key_buffer [k_soup_max_word_chars]
 Normalized key buffer.

Detailed Description

Caller-owned bounded workspace for puzzle solving (zero-heap).

Definition at line 50 of file alphabet_soup.h.

Field Documentation

◆ grid

soup_grid_t soup_context_t::grid

Board grid storage.

Definition at line 51 of file alphabet_soup.h.

Referenced by internal_solve_words(), and soup_solve().

◆ search_key_buffer

char soup_context_t::search_key_buffer[k_soup_max_word_chars]

Normalized key buffer.

Definition at line 53 of file alphabet_soup.h.

Referenced by internal_solve_words().

◆ word_buffer

char soup_context_t::word_buffer[k_soup_max_word_chars]

Current word buffer.

Definition at line 52 of file alphabet_soup.h.

Referenced by internal_solve_words().


The documentation for this struct was generated from the following file: