scripted-diff: rename BytePtr to AsBytePtr #24989

pull promag wants to merge 1 commits into bitcoin:master from promag:rename-byteptr changing 4 files +14 −14
  1. promag commented at 8:43 AM on April 26, 2022: member

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

    typedef UInt8 *                         BytePtr;
    
  2. scripted-diff: rename BytePtr to AsBytePtr
    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-
    bae4561938
  3. promag commented at 8:44 AM on April 26, 2022: member

    @MarcoFalke @sipa feedback is welcomed.

  4. DrahtBot added the label Refactoring on Apr 26, 2022
  5. DrahtBot added the label Wallet on Apr 26, 2022
  6. MarcoFalke commented at 10:38 AM on April 26, 2022: member

    cr ACK bae4561938f66b31420ffc3f09c9a62932355b8c

  7. MarcoFalke removed the label Wallet on Apr 26, 2022
  8. laanwj commented at 12:57 PM on April 26, 2022: member

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

  9. DrahtBot commented at 2:37 PM on April 26, 2022: member

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--174a7506f384e20aa4161008e828411d-->

    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.

  10. prusnak approved
  11. prusnak commented at 3:10 PM on April 26, 2022: contributor

    Approach ACK bae4561938f66b31420ffc3f09c9a62932355b8c

  12. sipa commented at 3:15 PM on April 26, 2022: member

    utACK bae4561938f66b31420ffc3f09c9a62932355b8c

  13. fanquake merged this on Apr 26, 2022
  14. fanquake closed this on Apr 26, 2022

  15. promag deleted the branch on Apr 26, 2022
  16. sidhujag referenced this in commit 54ea33894e on Apr 26, 2022
  17. DrahtBot locked this on Apr 26, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 00:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me