Skip to content

Conversation

promag
Copy link
Contributor

@promag promag commented Apr 26, 2022

Building with iPhoneOS SDK fails because it also has BytePtr defined
in /usr/include/MacTypes.h:

typedef UInt8 *                         BytePtr;

Building with iPhoneOS SDK fails because it also has `BytePtr` defined 
in /usr/include/MacTypes.h.

-BEGIN VERIFY SCRIPT-
sed -i 's/BytePtr/AsBytePtr/' $(git grep -l "BytePtr" src)
-END VERIFY SCRIPT-
@promag
Copy link
Contributor Author

promag commented Apr 26, 2022

@MarcoFalke @sipa feedback is welcomed.

@maflcko
Copy link
Member

maflcko commented Apr 26, 2022

cr ACK bae4561

@maflcko maflcko removed the Wallet label Apr 26, 2022
@laanwj
Copy link
Member

laanwj commented Apr 26, 2022

Code review ACK bae4561
Besides working around the MacOS problem it simply is a better name, imo.

@DrahtBot
Copy link
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #24914 (wallet: Load database records in a particular order by achow101)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

Copy link
Contributor

@prusnak prusnak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approach ACK bae4561

@sipa
Copy link
Member

sipa commented Apr 26, 2022

utACK bae4561

@fanquake fanquake merged commit 833add0 into bitcoin:master Apr 26, 2022
@promag promag deleted the rename-byteptr branch April 26, 2022 15:53
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Apr 26, 2022
bae4561 scripted-diff: rename BytePtr to AsBytePtr (João Barbosa)

Pull request description:

  Building with iPhoneOS SDK fails because it also has `BytePtr` defined
  in [/usr/include/MacTypes.h](https://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/MacTypes.h.auto.html):
  ```cpp
  typedef UInt8 *                         BytePtr;
  ```

ACKs for top commit:
  MarcoFalke:
    cr ACK bae4561
  laanwj:
    Code review ACK bae4561
  sipa:
    utACK bae4561
  prusnak:
    Approach ACK bae4561

Tree-SHA512: fb4d4a94c9c2238107952c071bae9bf6bbde6ed6651f6d300f222adf8a6a423f0567cbbcc3102d4167ef2e4e6f9988a2f91d75a5418bf6bcd64eebb4bcd1077f
@bitcoin bitcoin locked and limited conversation to collaborators Apr 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants