Skip to content

File utils.c

FileList > gen-rlitt > test > utils > utils.c

Go to the source code of this file

  • #include "utils.h"
  • #include "storage_defs.h"
  • #include "stdbool.h"

Public Static Attributes

Type Name
note_wptt_node_buffer_t buffer = /* multi line expression */
note_wptt_t note_wptt_buffer
size_t note_wptt_buffer_idx = 0
note_wptt_node_t note_wptt_node

Public Functions

Type Name
void load_note (note_wptt_t ** list, char ** strings, size_t count)
void test_util_clear_buffer ()
note_wptt_node_buffer_t * test_util_get_buffer (void)
bool test_util_trees_equal (const note_wptt_t * tree1, const note_wptt_t * tree2)

Public Static Functions

Type Name
bool nodes_walk (const note_wptt_node_t * node1, const note_wptt_node_t * node2)

Public Static Attributes Documentation

variable buffer

note_wptt_node_buffer_t buffer;

variable note_wptt_buffer

note_wptt_t note_wptt_buffer[100 *UTIL_TANG_DEFS_MAX_CROSSINGNUM];

variable note_wptt_buffer_idx

size_t note_wptt_buffer_idx;

variable note_wptt_node

note_wptt_node_t note_wptt_node[200 *UTIL_TANG_DEFS_MAX_CROSSINGNUM];

Public Functions Documentation

function load_note

void load_note (
    note_wptt_t ** list,
    char ** strings,
    size_t count
) 

function test_util_clear_buffer

void test_util_clear_buffer () 

function test_util_get_buffer

note_wptt_node_buffer_t * test_util_get_buffer (
    void
) 

function test_util_trees_equal

bool test_util_trees_equal (
    const note_wptt_t * tree1,
    const note_wptt_t * tree2
) 

Public Static Functions Documentation

function nodes_walk

static bool nodes_walk (
    const note_wptt_node_t * node1,
    const note_wptt_node_t * node2
) 


The documentation for this class was generated from the following file source/gen-rlitt/test/utils/utils.c