Espacio de nombres · Antril
System.Runtime.InteropServices
Tipos
| static class |
CStrings
internal
|
Temporary C strings: what the compiler calls around an imported function that takes strings. |
| final attribute |
FieldOffsetAttribute
|
[FieldOffset(n)] on each field of a [ValueLayout(Layout.Explicit)] value: its place in bytes from the start. |
| enum |
Layout
|
How the fields of a value are placed in memory. |
| static class |
Marshal
|
Native memory and conversions between Antril values and C data. |
| static class |
Memory
|
Raw memory (unsafe code). |
| static class |
NativeMemory
|
Native memory blocks (not seen by the collector). |
| final attribute |
ValueLayoutAttribute
|
[ValueLayout(Layout.Explicit, Size = 128)], [ValueLayout(Layout.Sequential, Pack = 1)] on a value: its fields where C would put them, for structs and unions that cross to C by pointer. |