Skip to content

[SR-466] Imported APIs taking chars should use CChar #43083

@lhoward

Description

@lhoward
Previous ID SR-466
Radar None
Original Reporter @lhoward
Type Bug
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, ClangImporter, StarterBug
Assignee @dduan
Priority Medium

md5: fb3d11a5978519172603e14b926036d4

Issue Description:

I don’t know if/when Swift will be ported to a platform where the character type is unsigned but perhaps imported APIs where the character signedness is not explicitly specified should be imported as CChar rather than Int8?

Documentation says that CChar is the native character type.

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions