numem.core.attributes

Numem attribute hooks for various compilers.

We implement them here to avoid relying on druntime, or phobos.

Some of this code references druntime in dmd, ldc and gcc.

Members

Enums

optional
enum optional

Use this attribute to make an Objective-C interface method optional.

Functions

section
auto section(string sectionName)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

weak
enum weak;
Undocumented in source.

Structs

section
struct section
Undocumented in source.
section
struct section

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

selector
struct selector

Use this attribute to attach an Objective-C selector to a method.

weak
struct weak
Undocumented in source.

Variables

weak
auto weak;
Undocumented in source.

Meta

Authors

Luna Nielsen