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

Static manager buffers or external manager buffers #3

Open
MrNex opened this issue May 28, 2015 · 0 comments
Open

Static manager buffers or external manager buffers #3

MrNex opened this issue May 28, 2015 · 0 comments

Comments

@MrNex
Copy link
Owner

MrNex commented May 28, 2015

Earlier, the NGen had it's Managers define a static buffer in their header files which was attempted to be handled in the implementation, this of course led to errors and many warnings.

In an attempt to cull all warnings, the Managers are temporarily being given an external linkage to a buffer defined in the implementation.

This however renders the GetBuffer functions useless. We must decide if we want a static variable defined only in the implementation which can be accessed by reference through a function, or to just maintain public external linkage through the header (in which case the GetBuffer functions should be removed).

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

No branches or pull requests

1 participant