In C
, constants defined in dotgen are mapped to a C
constant. For instance, the following IDL:
const long longint = 1; const string str = "string example";
would map into
const uint32_t longint = 1; const char *str = "string example";
The identifier can be referenced at any point in the user's code where a literal of that type is legal.