Skip to content

Use bool in WString Return values #7766

Closed
@mrengineer7777

Description

@mrengineer7777

Related area

WString.h

Hardware specification

N/A

Is your feature request related to a problem?

I would like our WString library to return the same values as ESP8266 and ArduinoCore-API.

Describe the solution you'd like

I'd like to change function return values from unsigned char to bool. This was done in both ESP8266 (esp8266/Arduino#7939) and ArduinoCore-API (arduino/ArduinoCore-API#147)

Describe alternatives you've considered

I could leave the library as-is, but it makes it very hard to compare changes between ESP32 and ESP8266.

Additional context

I'm willing to submit a PR with the changes. I believe this will have no impact on users. Before I do the work I'd like feedback from repository maintainers that this will be helpful/accepted.

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions