The OpenD Programming Language

core.attribute

This module contains UDA's (User Defined Attributes) either used in the runtime or special UDA's recognized by compiler.

Public Imports

gcc.attributes
public import gcc.attributes;
Undocumented in source.
ldc.attributes
public import ldc.attributes;
Undocumented in source.

Members

Enums

implicit
enum implicit

Use this to mark a constructor as usable for implicit calls.

mustuse
enum mustuse

Use this attribute to ensure that values of a struct or union type are not discarded.

mutableRefInit
enum mutableRefInit

Use this attribute to indicate that you wish to initialize a field with a mutable reference type.

optional
enum optional

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

standalone
enum standalone

Use this attribute to indicate that a shared module constructor does not depend on any other module constructor being run first. This avoids errors on cyclic module constructors.

weak
enum weak

Use this attribute to specify that a global symbol should be emitted with weak linkage. This is primarily useful in defining library functions that can be overridden by user code, though it can also be used with shared and static variables too.

Structs

gnuAbiTag
struct gnuAbiTag

Use this attribute to declare an ABI tag on a C++ symbol.

selector
struct selector

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

Meta

Authors

Jacob Carlborg