Class ExternAttribute
An attribute that indicates that a method is implemented by calling into an external library.
Implements
Inherited Members
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public sealed class ExternAttribute : IAttribute
Constructors
| Edit this page View SourceExternAttribute()
Creates a new extern attribute.
Declaration
public ExternAttribute()
ExternAttribute(string)
Creates a new extern attribute.
Declaration
public ExternAttribute(string importName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | importName | The name of the imported function. |
Fields
| Edit this page View SourceAttributeType
The attribute type of extern attributes.
Declaration
public static readonly IType AttributeType
Field Value
| Type | Description |
|---|---|
| IType | An attribute type. |
Properties
| Edit this page View SourceImportNameOrNull
Gets the name of the imported function, if any.
Declaration
public string ImportNameOrNull { get; }
Property Value
| Type | Description |
|---|---|
| string | The imported name. |