Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Drop custom copymem/zeromem defines #48239

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

akien-mga
Copy link
Member

We've been using standard C library functions memcpy/memset for these since
2016 with 67f65f6.

There was still the possibility for third-party platform ports to override the
definitions with a custom header, but this doesn't seem useful anymore.

We've been using standard C library functions `memcpy`/`memset` for these since
2016 with 67f65f6.

There was still the possibility for third-party platform ports to override the
definitions with a custom header, but this doesn't seem useful anymore.
@akien-mga akien-mga added enhancement topic:core cherrypick:3.x Considered for cherry-picking into a future 3.x release labels Apr 27, 2021
@akien-mga akien-mga added this to the 4.0 milestone Apr 27, 2021
@akien-mga akien-mga requested a review from punto- April 27, 2021 14:35
@akien-mga akien-mga requested review from a team as code owners April 27, 2021 14:35
@akien-mga akien-mga removed request for a team April 27, 2021 14:35
@akien-mga akien-mga requested review from a team and removed request for a team April 27, 2021 14:35
@akien-mga akien-mga merged commit 305b2a1 into godotengine:master Apr 28, 2021
@akien-mga akien-mga deleted the goodbye-copymem branch April 28, 2021 09:04
akien-mga added a commit that referenced this pull request Apr 28, 2021
@akien-mga
Copy link
Member Author

Cherry-picked for 3.4. (Actually redone manually.)

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Apr 29, 2021
akien-mga added a commit to akien-mga/godot that referenced this pull request Apr 29, 2021
We've been using standard C library functions `memcpy`/`memset` for these since
2016 with 67f65f6.

There was still the possibility for third-party platform ports to override the
definitions with a custom header, but this doesn't seem useful anymore.

Backport of godotengine#48239.
@Xrayez
Copy link
Contributor

Xrayez commented Apr 29, 2021

Note to module developers: this breaks compat for custom modules in 3.x who use those defines as in Godot. But it should be straightforward to port existing code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants