struct rgt_blk

Overview

The structure represents one block of a template More…

#include <rgt_tmpls_lib.h>

struct rgt_blk {
    // fields

    rgt_blk_type_t type;
    const char* start_data;
    rgt_var_def_t var;
};

Detailed Documentation

The structure represents one block of a template

Fields

rgt_blk_type_t type

Defines the type of a block

const char* start_data

Pointer to the beginning of a constant string, which should be output in this block

rgt_var_def_t var

Variable data structure