Package

scala.scalanative

libc

Permalink

package libc

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

Type Members

  1. implicit final class StdioHelpers extends AnyVal

    Permalink

Value Members

  1. object complex

    Permalink

    All functions take complex but Scala Native does not support pass by value so we pass a pointer to an Array of length 2 and have a small wrapper in C doing the conversion to call the native function.

    All functions take complex but Scala Native does not support pass by value so we pass a pointer to an Array of length 2 and have a small wrapper in C doing the conversion to call the native function. Currently Scala Native and JVM have no direct support for long double so these methods are not implemented.

    Since the user must manage the memory, we pass a buffer passed to each function for storing the result and is also is returned from the function so functions can be chained together. This adds one additional parameter to the function compared to the C API.

    Implicit classes are provided for convenience.

    References: https://en.wikipedia.org/wiki/C_data_types C99 also added complex types: float _Complex, double _Complex, long double _Complex https://en.wikipedia.org/wiki/Long_double http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/complex.h.html

    Annotations
    @extern()
  2. object complexOps

    Permalink
  3. object ctype

    Permalink
    Annotations
    @extern()
  4. object errno

    Permalink
    Annotations
    @extern()
  5. object fenv

    Permalink
    Annotations
    @extern()
  6. object float

    Permalink

    Bindings for float.h

    Bindings for float.h

    Annotations
    @extern()
  7. object inttypes

    Permalink
    Annotations
    @extern()
  8. object math

    Permalink
    Annotations
    @extern()
  9. object signal

    Permalink
    Annotations
    @extern()
  10. object stddef

    Permalink
    Annotations
    @extern()
  11. object stdint

    Permalink
    Annotations
    @extern()
  12. object stdio

    Permalink
    Annotations
    @extern()
  13. object stdlib

    Permalink
    Annotations
    @extern()
  14. object string

    Permalink
    Annotations
    @extern()
  15. object tgmath

    Permalink

    tgmath.h binding ISO/IEC 9899:1999(C99)

  16. object wchar

    Permalink
    Annotations
    @extern()

Inherited from AnyRef

Inherited from Any

Ungrouped