scala.scalanative.unsafe
Type members
Classlikes
- Companion:
- object
- Companion:
- object
- Companion:
- object
- Companion:
- object
- Companion:
- object
- Companion:
- object
- Companion:
- object
- Companion:
- object
- Companion:
- object
Type of a C-style vararg in an extern method.
Type of a C-style vararg in an extern method.
- Companion:
- object
Type of a C-style vararg list (va_list in C).
Type of a C-style vararg list (va_list in C).
- Companion:
- object
An optimized implementation of a zone that performs all allocations sequentially in pages that are claimed from memory pool. Larger allocations are allocated using the system allocator and persisted in an array buffer.
An optimized implementation of a zone that performs all allocations sequentially in pages that are claimed from memory pool. Larger allocations are allocated using the system allocator and persisted in an array buffer.
Scala Native unsafe extensions to Arrays
Scala Native unsafe extensions to Arrays
Scala Native unsafe extensions to the standard Byte.
Scala Native unsafe extensions to the standard Byte.
Scala Native unsafe extensions to the standard Int.
Scala Native unsafe extensions to the standard Int.
Scala Native unsafe extensions to the standard Long.
Scala Native unsafe extensions to the standard Long.
Scala Native unsafe extensions to the standard Short.
Scala Native unsafe extensions to the standard Short.
Zone allocator which manages memory allocations.
Zone allocator which manages memory allocations.
- Companion:
- object
An annotation that is used to mark methods that contain externally-defined and potentially blocking methods
An annotation that is used to mark methods that contain externally-defined and potentially blocking methods
An annotation that is used to automatically define a macro when the annotated symbol is used.
An annotation that is used to automatically define a macro when the annotated symbol is used.
An annotation that is used to mark static fields for which should be generated external accesor (entry points in library)
An annotation that is used to mark static fields for which should be generated external accesor (entry points in library)
An annotation that is used to mark methods that should be treated as library entry point
An annotation that is used to mark methods that should be treated as library entry point
An annotation that is used to mark objects that contain externally-defined members
An annotation that is used to mark objects that contain externally-defined members
An annotation that is used to automatically link with native library whenever an annotated extern object is used.
An annotation that is used to automatically link with native library whenever an annotated extern object is used.
An annotation that is used to link the c++ runtime using clang++ instead of clang.
An annotation that is used to link the c++ runtime using clang++ instead of clang.
An annotation that is used to refer to differently-named native symbol.
An annotation that is used to refer to differently-named native symbol.
Used to annotate methods which should be evaluated in linktime, allowing to remove unused paths and symbols, e.g. whe cross compiling for different OS Annotated methods needs to operate only on literal values, other methods with this annotation.
Used to annotate methods which should be evaluated in linktime, allowing to remove unused paths and symbols, e.g. whe cross compiling for different OS Annotated methods needs to operate only on literal values, other methods with this annotation.
Types
The C/C++ 'void *' type; by convention, not declaration.
The C/C++ 'void *' type; by convention, not declaration.
Deprecated types
UInt on 32-bit architectures and ULong on 64-bit ones.
UInt on 32-bit architectures and ULong on 64-bit ones.
- Deprecated
[Since version 0.5.0]
Int on 32-bit architectures and Long on 64-bit ones.
Int on 32-bit architectures and Long on 64-bit ones.
- Deprecated
[Since version 0.5.0]
Value members
Concrete methods
Used as right hand side of external method and field declarations.
Used as right hand side of external method and field declarations.
Convert a CString to a String using given charset.
Convert a CString to a String using given charset.
Convert a CWideString to a String using given charset, assumes platform default wchar_t size
Convert a CWideString to a String using given charset, assumes platform default wchar_t size
Convert a CWideString based on Ptr[CChar16] to a String using given charset
Convert a CWideString based on Ptr[CChar16] to a String using given charset
Convert a java.lang.String to a CString using default charset and given allocator.
Convert a java.lang.String to a CString using default charset and given allocator.
Convert a java.lang.String to a CString using given charset and allocator.
Convert a java.lang.String to a CString using given charset and allocator.
Convert a sequence of CVarArg into a c CVarArgList.
Convert a sequence of CVarArg into a c CVarArgList.
Convert a java.lang.String to a CWideString using given charset and allocator.
Convert a java.lang.String to a CWideString using given charset and allocator.
Inherited methods
The Scala equivalent of C 'alignmentof', but always returns 32-bit integer
The Scala equivalent of C 'alignmentof', but always returns 32-bit integer
- Inherited from:
- UnsafePackageCompat (hidden)
The C 'alignmentof' operator.
The C 'alignmentof' operator.
- Inherited from:
- UnsafePackageCompat (hidden)
Heap allocate and zero-initialize n values using current implicit allocator.
Heap allocate and zero-initialize n values using current implicit allocator.
- Inherited from:
- UnsafePackageCompat (hidden)
Heap allocate and zero-initialize n values using current implicit allocator.
Heap allocate and zero-initialize n values using current implicit allocator.
- Inherited from:
- UnsafePackageCompat (hidden)
Heap allocate and zero-initialize value using current implicit allocator.
Heap allocate and zero-initialize value using current implicit allocator.
- Inherited from:
- UnsafePackageCompat (hidden)
The Scala equivalent of C 'ssizeof', but always returns 32-bit integer
The Scala equivalent of C 'ssizeof', but always returns 32-bit integer
- Inherited from:
- UnsafePackageCompat (hidden)
Stack allocate and zero-initialize n values of given type
Stack allocate and zero-initialize n values of given type
- Inherited from:
- UnsafePackageCompat (hidden)
Stack allocate and zero-initialize n values of given type
Stack allocate and zero-initialize n values of given type
- Inherited from:
- UnsafePackageCompat (hidden)
Extensions
Inherited extensions
Implicits
Implicits
Scala Native unsafe extensions to the standard Byte.
Scala Native unsafe extensions to the standard Byte.
Scala Native unsafe extensions to the standard Int.
Scala Native unsafe extensions to the standard Int.
Scala Native unsafe extensions to the standard Long.
Scala Native unsafe extensions to the standard Long.