Package

scala.scalanative

native

Permalink

package native

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

Type Members

  1. abstract final class CArray[T, N <: Nat] extends AnyRef

    Permalink
  2. type CBool = Boolean

    Permalink

    The C '_Bool' and C++ 'bool' type.

  3. implicit class CCast[From] extends AnyRef

    Permalink

    C-style unchecked cast.

  4. type CChar = Byte

    Permalink

    The C 'char' type.

  5. type CChar16 = UShort

    Permalink

    The C++ 'char16_t' type.

  6. type CChar32 = UInt

    Permalink

    The C++ 'char32_t' type.

  7. type CDouble = Double

    Permalink

    The C 'double' type.

  8. abstract final class CField1[P, F] extends AnyRef

    Permalink
  9. abstract final class CField10[P, F] extends AnyRef

    Permalink
  10. abstract final class CField11[P, F] extends AnyRef

    Permalink
  11. abstract final class CField12[P, F] extends AnyRef

    Permalink
  12. abstract final class CField13[P, F] extends AnyRef

    Permalink
  13. abstract final class CField14[P, F] extends AnyRef

    Permalink
  14. abstract final class CField15[P, F] extends AnyRef

    Permalink
  15. abstract final class CField16[P, F] extends AnyRef

    Permalink
  16. abstract final class CField17[P, F] extends AnyRef

    Permalink
  17. abstract final class CField18[P, F] extends AnyRef

    Permalink
  18. abstract final class CField19[P, F] extends AnyRef

    Permalink
  19. abstract final class CField2[P, F] extends AnyRef

    Permalink
  20. abstract final class CField20[P, F] extends AnyRef

    Permalink
  21. abstract final class CField21[P, F] extends AnyRef

    Permalink
  22. abstract final class CField22[P, F] extends AnyRef

    Permalink
  23. abstract final class CField3[P, F] extends AnyRef

    Permalink
  24. abstract final class CField4[P, F] extends AnyRef

    Permalink
  25. abstract final class CField5[P, F] extends AnyRef

    Permalink
  26. abstract final class CField6[P, F] extends AnyRef

    Permalink
  27. abstract final class CField7[P, F] extends AnyRef

    Permalink
  28. abstract final class CField8[P, F] extends AnyRef

    Permalink
  29. abstract final class CField9[P, F] extends AnyRef

    Permalink
  30. type CFloat = Float

    Permalink

    The C 'float' type.

  31. sealed abstract class CFunctionPtr extends AnyRef

    Permalink

    C-style function pointer.

  32. abstract final class CFunctionPtr0[R] extends CFunctionPtr

    Permalink
  33. abstract final class CFunctionPtr1[T1, R] extends CFunctionPtr

    Permalink
  34. abstract final class CFunctionPtr10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R] extends CFunctionPtr

    Permalink
  35. abstract final class CFunctionPtr11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R] extends CFunctionPtr

    Permalink
  36. abstract final class CFunctionPtr12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R] extends CFunctionPtr

    Permalink
  37. abstract final class CFunctionPtr13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R] extends CFunctionPtr

    Permalink
  38. abstract final class CFunctionPtr14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R] extends CFunctionPtr

    Permalink
  39. abstract final class CFunctionPtr15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R] extends CFunctionPtr

    Permalink
  40. abstract final class CFunctionPtr16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R] extends CFunctionPtr

    Permalink
  41. abstract final class CFunctionPtr17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R] extends CFunctionPtr

    Permalink
  42. abstract final class CFunctionPtr18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R] extends CFunctionPtr

    Permalink
  43. abstract final class CFunctionPtr19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R] extends CFunctionPtr

    Permalink
  44. abstract final class CFunctionPtr2[T1, T2, R] extends CFunctionPtr

    Permalink
  45. abstract final class CFunctionPtr20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R] extends CFunctionPtr

    Permalink
  46. abstract final class CFunctionPtr21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R] extends CFunctionPtr

    Permalink
  47. abstract final class CFunctionPtr22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R] extends CFunctionPtr

    Permalink
  48. abstract final class CFunctionPtr3[T1, T2, T3, R] extends CFunctionPtr

    Permalink
  49. abstract final class CFunctionPtr4[T1, T2, T3, T4, R] extends CFunctionPtr

    Permalink
  50. abstract final class CFunctionPtr5[T1, T2, T3, T4, T5, R] extends CFunctionPtr

    Permalink
  51. abstract final class CFunctionPtr6[T1, T2, T3, T4, T5, T6, R] extends CFunctionPtr

    Permalink
  52. abstract final class CFunctionPtr7[T1, T2, T3, T4, T5, T6, T7, R] extends CFunctionPtr

    Permalink
  53. abstract final class CFunctionPtr8[T1, T2, T3, T4, T5, T6, T7, T8, R] extends CFunctionPtr

    Permalink
  54. abstract final class CFunctionPtr9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R] extends CFunctionPtr

    Permalink
  55. type CInt = Int

    Permalink

    The C 'int' type.

  56. type CLong = Long

    Permalink

    The C 'long' type.

  57. type CLongLong = Long

    Permalink

    The C 'long long' type.

  58. implicit class CQuote extends AnyRef

    Permalink

    C-style string literal.

  59. type CShort = Short

    Permalink

    The C 'short' type.

  60. type CSignedChar = Byte

    Permalink

    The C 'signed char' type.

  61. type CSize = Long

    Permalink

    The C/C++ 'size_t' type.

  62. type CString = Ptr[CChar]

    Permalink

    C-style string with trailing 0.

  63. abstract final class CStruct0 extends AnyRef

    Permalink
  64. abstract final class CStruct1[T1] extends AnyRef

    Permalink
  65. abstract final class CStruct10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10] extends AnyRef

    Permalink
  66. abstract final class CStruct11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11] extends AnyRef

    Permalink
  67. abstract final class CStruct12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12] extends AnyRef

    Permalink
  68. abstract final class CStruct13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13] extends AnyRef

    Permalink
  69. abstract final class CStruct14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14] extends AnyRef

    Permalink
  70. abstract final class CStruct15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15] extends AnyRef

    Permalink
  71. abstract final class CStruct16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16] extends AnyRef

    Permalink
  72. abstract final class CStruct17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17] extends AnyRef

    Permalink
  73. abstract final class CStruct18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18] extends AnyRef

    Permalink
  74. abstract final class CStruct19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19] extends AnyRef

    Permalink
  75. abstract final class CStruct2[T1, T2] extends AnyRef

    Permalink
  76. abstract final class CStruct20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20] extends AnyRef

    Permalink
  77. abstract final class CStruct21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21] extends AnyRef

    Permalink
  78. abstract final class CStruct22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22] extends AnyRef

    Permalink
  79. abstract final class CStruct3[T1, T2, T3] extends AnyRef

    Permalink
  80. abstract final class CStruct4[T1, T2, T3, T4] extends AnyRef

    Permalink
  81. abstract final class CStruct5[T1, T2, T3, T4, T5] extends AnyRef

    Permalink
  82. abstract final class CStruct6[T1, T2, T3, T4, T5, T6] extends AnyRef

    Permalink
  83. abstract final class CStruct7[T1, T2, T3, T4, T5, T6, T7] extends AnyRef

    Permalink
  84. abstract final class CStruct8[T1, T2, T3, T4, T5, T6, T7, T8] extends AnyRef

    Permalink
  85. abstract final class CStruct9[T1, T2, T3, T4, T5, T6, T7, T8, T9] extends AnyRef

    Permalink
  86. type CUnsignedChar = UByte

    Permalink

    The C 'unsigned char' type.

  87. type CUnsignedInt = UInt

    Permalink

    The C 'unsigned int' type.

  88. type CUnsignedLong = ULong

    Permalink

    The C 'unsigned long' type.

  89. type CUnsignedLongLong = ULong

    Permalink

    The C 'unsigned long long' type.

  90. type CUnsignedShort = UShort

    Permalink

    The C 'unsigned short' type.

  91. abstract final class CVararg extends AnyRef

    Permalink

    Type of a C-style vararg in an extern method.

  92. type CWideChar = UInt

    Permalink

    The C++ 'wchar_t' type.

  93. sealed abstract class Nat extends AnyRef

    Permalink
  94. implicit final class NativeRichByte extends AnyVal

    Permalink

    Scala Native extensions to the standard Byte.

  95. implicit final class NativeRichInt extends AnyVal

    Permalink

    Scala Native extensions to the standard Int.

  96. implicit final class NativeRichLong extends AnyVal

    Permalink

    Scala Native extensions to the standard Long.

  97. implicit final class NativeRichShort extends AnyVal

    Permalink

    Scala Native extensions to the standard Short.

  98. abstract final class Ptr[T] extends AnyRef

    Permalink

    The C const T * pointer.

  99. abstract final class Tag[P] extends AnyRef

    Permalink
  100. final class UByte extends AnyVal with java.io.Serializable with Comparable[UByte]

    Permalink

    UByte, a 8-bit unsigned integer.

  101. final class UInt extends AnyVal with java.io.Serializable with Comparable[UInt]

    Permalink

    UInt, a 32-bit unsigned integer.

  102. final class ULong extends AnyVal with java.io.Serializable with Comparable[ULong]

    Permalink

    ULong, a 64-bit unsigned integer.

  103. final class UShort extends AnyVal with java.io.Serializable with Comparable[UShort]

    Permalink

    UShort, a 16-bit unsigned integer.

  104. type UWord = ULong

    Permalink

    UInt on 32-bit architectures and ULong on 64-bit ones.

  105. type Word = Long

    Permalink

    Int on 32-bit architectures and Long on 64-bit ones.

  106. final class extern extends Annotation with StaticAnnotation

    Permalink

    An annotation that is used to mark objects that contain externally-defined members.

  107. final class inlinehint extends Annotation with StaticAnnotation

    Permalink

    Hint at inlining of the method.

  108. final class link extends Annotation with StaticAnnotation

    Permalink

    An annotation that is used to automatically link with native library whenever an annotated extern object is used.

  109. final class name extends Annotation with StaticAnnotation

    Permalink

    An annotation that is used to refer to differently-named native symbol.

    An annotation that is used to refer to differently-named native symbol.

    Annotations
    @field() @getter() @setter()
  110. final class pin extends Annotation with StaticAnnotation

    Permalink

    An annotation that is used to indicate that given field or method should never be eliminated during link-time whole-program dead code elimination as long as enclosing class or object is reachable.

    An annotation that is used to indicate that given field or method should never be eliminated during link-time whole-program dead code elimination as long as enclosing class or object is reachable.

    Annotations
    @field() @getter() @setter()

Value Members

  1. object CField1

    Permalink
  2. object CField10

    Permalink
  3. object CField11

    Permalink
  4. object CField12

    Permalink
  5. object CField13

    Permalink
  6. object CField14

    Permalink
  7. object CField15

    Permalink
  8. object CField16

    Permalink
  9. object CField17

    Permalink
  10. object CField18

    Permalink
  11. object CField19

    Permalink
  12. object CField2

    Permalink
  13. object CField20

    Permalink
  14. object CField21

    Permalink
  15. object CField22

    Permalink
  16. object CField3

    Permalink
  17. object CField4

    Permalink
  18. object CField5

    Permalink
  19. object CField6

    Permalink
  20. object CField7

    Permalink
  21. object CField8

    Permalink
  22. object CField9

    Permalink
  23. object CFunctionPtr

    Permalink
  24. object CVararg

    Permalink
  25. object Nat

    Permalink
  26. object Tag

    Permalink
  27. object UByte extends Serializable

    Permalink
  28. object UInt extends Serializable

    Permalink
  29. object ULong extends Serializable

    Permalink
  30. object UShort extends Serializable

    Permalink
  31. object ctype

    Permalink
    Annotations
    @extern()
  32. object errno

    Permalink
    Annotations
    @extern()
  33. def extern: Nothing

    Permalink

    Used as right hand side of external method and field declarations.

  34. def fromCString(cstr: CString, charset: Charset = Charset.defaultCharset()): String

    Permalink

    Convert a CString to a String using given charset.

  35. object math

    Permalink
    Annotations
    @extern()
  36. object signal

    Permalink
    Annotations
    @extern()
  37. def sizeof[T](implicit tag: Tag[T]): CSize

    Permalink

    The C 'sizeof' operator.

  38. def stackalloc[T](n: Int)(implicit tag: Tag[T]): Ptr[T]

    Permalink

    Stack allocate n values of given type.

  39. def stackalloc[T](implicit tag: Tag[T]): Ptr[T]

    Permalink

    Stack allocate a value of given type.

  40. object stdio

    Permalink
    Annotations
    @extern()
  41. object stdlib

    Permalink
    Annotations
    @extern()
  42. object string

    Permalink
    Annotations
    @extern()
  43. def toCString(str: String, charset: Charset = Charset.defaultCharset()): CString

    Permalink

    Convert a java.lang.String to a CString using given charset.

Inherited from AnyRef

Inherited from Any

Ungrouped