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

wrappers: a series of engine wrappers has been initialized for support functionality in all builds #530

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SmileyAG
Copy link
Collaborator

The wrappers were also divided into separate components for easier navigation and management, since I don’t like it when everything is in one basket.

Content for them will appear with the following pull requests, this request is intended to resolve the issue of what they should look like.

@SmileyAG SmileyAG added high-priority Pull request or issue that should be reviewed and merged first. wrappers labels Jul 14, 2024
@SmileyAG SmileyAG changed the title A series of engine wrappers has been initialized for support functionality in all builds wrappers: a series of engine wrappers has been initialized for support functionality in all builds Jul 14, 2024
Copy link
Owner

@YaLTeR YaLTeR left a comment

Choose a reason for hiding this comment

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

At a glance looks good; I'd like to see some example of what you put here before merging though. Other than the TriApi one from the other PR.


namespace Engine
{
};
Copy link
Owner

Choose a reason for hiding this comment

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

Namespaces in .cpp have trailing ; but in .hpp they don't?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In general, semicolon at the end for the named namespace is not required by standards. But if we look at the code design from other files of this project, it is clear that someone will put them both in the header and in .cpp, someone decides to put them only in the header, somewhere they are simply not there. So it's all a matter of taste.

But if we still want to adhere to some consistency in the code design, then I think it's easier to remove them altogether. What do you think about this?

Copy link
Owner

Choose a reason for hiding this comment

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

Yeah, let's do that if they are not needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high-priority Pull request or issue that should be reviewed and merged first. wrappers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants