My Project
Loading...
Searching...
No Matches
Public Attributes | List of all members
ConfigString Union Reference

A short-string-optimizing string type. More...

#include <config_file.h>

Public Attributes

char short_buf [16]
 The inline buffer for short strings.
 
char * long_buf
 The buffer for long strings.
 

Detailed Description

A short-string-optimizing string type.

This struct allows for storing up to 15 characters (plus a terminating '\0') inline. For longer strings memory will be allocated.

The tag for this union is the last character of short_buf:

Member Data Documentation

◆ long_buf

char* ConfigString::long_buf

The buffer for long strings.

May be NULL.


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