libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal_bit_struct.h File Reference

Go to the source code of this file.

Data Structures

struct  GblBitStructField
 
struct  GblBitStructClass
 

Macros

#define GBL_BIT_STRUCT_TYPE
 
#define GBL_BIT_STRUCT_CLASS(klass)
 
#define GBL_BIT_STRUCT_ENTRY(name, mask, type)
 
#define GBL_BIT_STRUCT_LAST()
 

Typedefs

typedef uint64_t GblBitStruct
 

Functions

GblType GblBitStruct_type (void)
 

Detailed Description

GblBitStructClass and API for managing bitfields.

This file contains the type definition for GblBitStructClass, which enables a 32 to 64-bit integer to be accessed via a GblVariant as though it were a regular structure type with string-type keys and values of arbitrary type.

Author
2023 Falco Girgis

Definition in file gimbal_bit_struct.h.

Macro Definition Documentation

◆ GBL_BIT_STRUCT_TYPE

#define GBL_BIT_STRUCT_TYPE

Definition at line 19 of file gimbal_bit_struct.h.

◆ GBL_BIT_STRUCT_CLASS

#define GBL_BIT_STRUCT_CLASS (   klass)

Definition at line 20 of file gimbal_bit_struct.h.

◆ GBL_BIT_STRUCT_ENTRY

#define GBL_BIT_STRUCT_ENTRY (   name,
  mask,
  type 
)

Definition at line 22 of file gimbal_bit_struct.h.

◆ GBL_BIT_STRUCT_LAST

#define GBL_BIT_STRUCT_LAST ( )

Definition at line 23 of file gimbal_bit_struct.h.

Typedef Documentation

◆ GblBitStruct

typedef uint64_t GblBitStruct

Definition at line 29 of file gimbal_bit_struct.h.