Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_gui_tree_state.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "nilorea/n_common.h"
#include "nilorea/n_log.h"
#include "nilorea/n_gui.h"
Include dependency graph for ex_gui_tree_state.c:

Go to the source code of this file.

Macros

#define ALLEGRO_UNSTABLE   1

Functions

static void build_tree (N_GUI_TREE *tree, void **tags)
static void expect_true (const char *label, int cond)
int main (int argc, char **argv)

Variables

static int failures = 0

Macro Definition Documentation

◆ ALLEGRO_UNSTABLE

#define ALLEGRO_UNSTABLE   1

Definition at line 29 of file ex_gui_tree_state.c.

Function Documentation

◆ build_tree()

void build_tree ( N_GUI_TREE * tree,
void ** tags )
static
Examples
ex_gui_tree_state.c.

Definition at line 52 of file ex_gui_tree_state.c.

References n_gui_tree_add_node(), and n_gui_tree_clear().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expect_true()

void expect_true ( const char * label,
int cond )
static

Definition at line 42 of file ex_gui_tree_state.c.

References failures, LOG_ERR, and n_log.

◆ main()

Variable Documentation

◆ failures

int failures = 0
static

Definition at line 40 of file ex_gui_tree_state.c.