Arax -8d09c51940345c86062e8ef2427c705ae66e5926
A Runtime Framework for Decoupling Applications from Heterogeneous Accelerators
Loading...
Searching...
No Matches
utils_compat_empty_s Struct Reference

#include <compat.h>

Data Fields

unsigned long nothing
 

Detailed Description

Placeholder struct to be used instead of an empty struct.

This struct is necessary as a c struct is 0 bytes*, whereas a c++ struct is 1 byte big**, resulting in problematic c<->c++ interaction.

https://gcc.gnu.org/onlinedocs/gcc/Empty-Structures.html#Empty-Structures ** Could not find reference, but seems to be defined as 'non zero'.

Definition at line 13 of file compat.h.

Field Documentation

◆ nothing

unsigned long nothing

Definition at line 15 of file compat.h.


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