Freeciv-3.3: cf_sequence Struct Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Data Fields
cf_sequence Struct Reference

`#include <shared.h>`

## Data Fields

enum cf_type | type
char | letter
union { |
bool bool_value |
char char_value |
int int_value |
float float_value |
const void * ptr_value |
const char * str_value |
}; |  |

## Detailed Description

Definition at line 302 of file shared.h.

## Field Documentation

## ◆ [union]

union { ... } cf_sequence

## ◆ bool_value

bool cf_sequence::bool_value

Definition at line 306 of file shared.h.

## ◆ char_value

char cf_sequence::char_value

Definition at line 307 of file shared.h.

## ◆ float_value

float cf_sequence::float_value

Definition at line 309 of file shared.h.

## ◆ int_value

int cf_sequence::int_value

Definition at line 308 of file shared.h.

## ◆ letter

char cf_sequence::letter

Definition at line 304 of file shared.h.

Referenced by cf_bool_seq(), cf_char_seq(), cf_float_seq(), cf_hexa_seq(), cf_int_seq(), cf_ptr_seq(), cf_str_seq(), and cf_trans_bool_seq().

## ◆ ptr_value

const void* cf_sequence::ptr_value

Definition at line 310 of file shared.h.

## ◆ str_value

const char* cf_sequence::str_value

Definition at line 311 of file shared.h.

## ◆ type

enum cf_type cf_sequence::type

Definition at line 303 of file shared.h.

Referenced by cf_bool_seq(), cf_char_seq(), cf_end(), cf_float_seq(), cf_hexa_seq(), cf_ptr_seq(), cf_str_seq(), and cf_trans_bool_seq().