Class

scala.scalanative.native

Ptr

Related Doc: package native

Permalink

abstract final class Ptr[T] extends AnyRef

The C const T * pointer.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ptr
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(offset: Word)(implicit tag: Tag[T]): Ptr[T]

    Permalink

    Compute a derived pointer by adding given offset.

  4. def -(ptr: Ptr[T])(implicit tag: Tag[T]): CPtrDiff

    Permalink

    Compute the offset between two pointers.

  5. def -(offset: Word)(implicit tag: Tag[T]): Ptr[T]

    Permalink

    Compute a derived pointer by subtracting given offset.

  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. def _1[F](implicit T: Tag[T], F: CField1[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 1-th field of the struct.

  8. def _10[F](implicit T: Tag[T], F: CField10[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 10-th field of the struct.

  9. def _11[F](implicit T: Tag[T], F: CField11[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 11-th field of the struct.

  10. def _12[F](implicit T: Tag[T], F: CField12[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 12-th field of the struct.

  11. def _13[F](implicit T: Tag[T], F: CField13[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 13-th field of the struct.

  12. def _14[F](implicit T: Tag[T], F: CField14[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 14-th field of the struct.

  13. def _15[F](implicit T: Tag[T], F: CField15[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 15-th field of the struct.

  14. def _16[F](implicit T: Tag[T], F: CField16[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 16-th field of the struct.

  15. def _17[F](implicit T: Tag[T], F: CField17[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 17-th field of the struct.

  16. def _18[F](implicit T: Tag[T], F: CField18[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 18-th field of the struct.

  17. def _19[F](implicit T: Tag[T], F: CField19[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 19-th field of the struct.

  18. def _2[F](implicit T: Tag[T], F: CField2[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 2-th field of the struct.

  19. def _20[F](implicit T: Tag[T], F: CField20[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 20-th field of the struct.

  20. def _21[F](implicit T: Tag[T], F: CField21[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 21-th field of the struct.

  21. def _22[F](implicit T: Tag[T], F: CField22[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 22-th field of the struct.

  22. def _3[F](implicit T: Tag[T], F: CField3[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 3-th field of the struct.

  23. def _4[F](implicit T: Tag[T], F: CField4[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 4-th field of the struct.

  24. def _5[F](implicit T: Tag[T], F: CField5[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 5-th field of the struct.

  25. def _6[F](implicit T: Tag[T], F: CField6[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 6-th field of the struct.

  26. def _7[F](implicit T: Tag[T], F: CField7[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 7-th field of the struct.

  27. def _8[F](implicit T: Tag[T], F: CField8[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 8-th field of the struct.

  28. def _9[F](implicit T: Tag[T], F: CField9[T, F]): Ptr[F]

    Permalink

    Get a derived pointer to the 9-th field of the struct.

  29. def apply(offset: Word)(implicit tag: Tag[T]): T

    Permalink

    Read a value at given offset.

    Read a value at given offset. Equivalent to !(offset + word).

  30. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  31. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  34. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  36. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. def unary_!(implicit tag: Tag[T]): T

    Permalink

    Dereference a pointer.

  44. def unary_!_=(value: T)(implicit tag: Tag[T]): Unit

    Permalink

    Store a value to the address pointed at by a pointer.

  45. def update(offset: Word, value: T)(implicit tag: Tag[T]): T

    Permalink

    Store a value to given offset.

    Store a value to given offset. Equivalent to !(offset + word) = value.

  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped