section

When applied to a global variable or function, causes it to be emitted to a non-standard object file/executable section.

The target platform might impose certain restrictions on the format for section names.

struct section {}

Members

Variables

name
string name;
Undocumented in source.

Examples

import ldc.attributes;

@section(".mySection") int myGlobal;

Meta