Skip to content

Ptr{Uint8} vs. Ptr{Int8} vs. Ptr{Cchar} #2603

@StefanKarpinski

Description

@StefanKarpinski

We have been assuming everywhere that an array of bytes from C code looks like Array{Uint8} but now Array{Cchar} is often more appropriate, but doesn't work, e.g. with functions like bytestring. We should either use Cchar instead of Uint8 or support both Uint8 and Int8.

cc: @astrieanna, @danielmendel, @chuckha, @zachallaun.

Metadata

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