Skip to content

How to create Arrays? #2

Open
Open
@schell

Description

I see there are many types of arrays (Float32Array, ArrayBuffer, Int32Array, ...), and many type classes that these array objects belong to (IsFloat32Array, IsGObject, IsJSVal, PToJSVal, ...) but it isn't immediately clear how to construct one of these arrays (perhaps with 1, 2, 3, etc, values) without using FFI - which seems to break the goal of jsaddle. Any tips?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions