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

Add Internal module #729

Merged
merged 7 commits into from
Nov 6, 2024
Merged

Add Internal module #729

merged 7 commits into from
Nov 6, 2024

Conversation

CedNaru
Copy link
Member

@CedNaru CedNaru commented Oct 16, 2024

Phase 2 of splitting the current godot library into several modules.

This time, I added a new module that is meant to be used as an "implementation" dependency for the core layer. Many previously internal classes were made public and moved to that new module. It means that the core library will be able to freely use them, but they won't be visible to the users.

Some classes had to be slightly modified to take into account that change because they previously referenced each other but are now in separate modules, which means that the reference can only be in one direction. It's actually a good thing, as it helps improve the quality of our code by removing coupling between classes. On that matter, the important changes are between MemoryManager (now in the new module) and KtObject (still in core).

@CedNaru CedNaru requested review from chippmann and piiertho October 16, 2024 12:47
@CedNaru CedNaru force-pushed the improvement/internal-module branch from 9becd27 to 07630d3 Compare October 16, 2024 12:50
@CedNaru CedNaru force-pushed the improvement/internal-module branch from d2165ea to 39cb769 Compare October 16, 2024 13:31
@CedNaru CedNaru marked this pull request as ready for review October 16, 2024 21:35
@CedNaru CedNaru merged commit baba396 into master Nov 6, 2024
57 checks passed
@CedNaru CedNaru deleted the improvement/internal-module branch November 6, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants