Skip to content

R/S docs don't tell which datatype should literal arrays be #271

@hiiamboris

Description

@hiiamboris

When I declare for example:
array: ["ab" "cd" "ef"]
what type should I put into the function spec?

According to the docs it should be pointer! [c-string!] but it's invalid to have pointer to pointer, so it errors out. Empirically found that it's actually int-ptr!.

Metadata

Metadata

Assignees

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