scala.scalanative.unsafe.cxx

Members list

Type members

Classlikes

object CxxBoolean

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CxxBoolean.type
object Ptr

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Ptr.type
object Ref

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Ref.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class ResourcePtr[T](ptr: Ptr[T], val buffer: Option[BlobArray])(using evidence$1: Tag[T])

A pointer to a resource that is managed by the C++ wrapper.

A pointer to a resource that is managed by the C++ wrapper.

This pointer should never be accessed by the user of a library.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object ResourcePtr

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Types

type Allocator[T] = Ptr[T] => Unit
opaque type Const[T]
opaque type CxxBoolean
type Deallocator[T] = Ref[T] => Unit
opaque type Ptr[T]
type RawPtr[T] = Ptr[T]

A raw pointer is just a typed pointer, without any added meaning.

A raw pointer is just a typed pointer, without any added meaning.

Attributes

opaque type Ref[T]

Exports

Defined exports

final type CArray = [T, N <: Nat] =>> CArray[T, N]
Exported from unsafe
final type CChar = CChar
Exported from package$
final type CFloat = CFloat
Exported from package$
final type CInt = CInt
Exported from package$
final type CLongLong = CLongLong
Exported from package$
final type CUnsignedLongLong = CUnsignedLongLong
Exported from package$
final val Nat: Nat
Exported from unsafe
final type Nat = Nat
Exported from unsafe