Skip to content

Conversation

lolgear
Copy link
Contributor

@lolgear lolgear commented May 28, 2022

This PR is the first PR in series of MRC removal PRs.

It removes MRC from

  • GILine
  • GILayer
  • GIBranch
  • GCCommitDatabase


#define GC_POINTER_LIST_FOR_LOOP(name, type, variable) \
type variable; \
GC_POINTER_LIST_FOR_LOOP_VARIABLE(name, variable)
type variable = (__bridge type)GC_POINTER_LIST_GET(name, 0); \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We have to use __bridge casting to adapt ARC rules.

Copy link
Collaborator

@lucasderraugh lucasderraugh left a comment

Choose a reason for hiding this comment

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

A few requested changes, but other than that looks good to me.

@lolgear lolgear force-pushed the refactoring/mrc_removal_part_one branch from bbfdd4f to 9dacad6 Compare August 15, 2022 16:51
@lucasderraugh lucasderraugh merged commit 9282c9b into git-up:master Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants