scala.scalanative.unsafe
Type members
Classlikes
- 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
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.
Zone allocator which manages memory allocations.
Zone allocator which manages memory allocations.
- Companion
- object
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.
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
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
Deprecated and Inherited methods
Heap allocate and zero-initialize n values using current implicit
allocator. This method takes argument of type CSSize
for easier interop,
but it' always converted into CSize
Heap allocate and zero-initialize n values using current implicit
allocator. This method takes argument of type CSSize
for easier interop,
but it' always converted into CSize
- Deprecated
[Since version 0.4.0]
- Inherited from
- UnsafePackageCompat
Stack allocate n values of given type.
Stack allocate n values of given type.
Note: unlike alloc, the memory is not zero-initialized. This method takes
argument of type CSSize
for easier interop, but it's always converted
into CSize
- Deprecated
[Since version 0.4.0]
- Inherited from
- UnsafePackageCompat