Skip to content

IOUSBHostCIMessageStatus has the wrong type/encoding #754

Open
@carlossless

Description

@carlossless

Hi,

I'm experiencing a panic, when trying to use [IOUSBHostCIControllerStateMachine respondToCommand:status:error:] and passing IOUSBHostCIMessageStatus::Success for the status argument. Here's the message I receive:

[IOUSBHostCIControllerStateMachine respondToCommand:status:error:]: expected argument at index 1 to have type code 'i', but found 'I'

Enabling the feature relax-sign-encoding can be a workaround, but in order to actually fix this, the ENCODING (and underlying type) for IOUSBHostCIMessageStatus should be changed from c_uint to c_int.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frameworkAffects the framework crates and the translator for thembugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions