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

Header files should be in a np1sec directory #39

Open
inetic opened this issue Oct 31, 2016 · 0 comments
Open

Header files should be in a np1sec directory #39

inetic opened this issue Oct 31, 2016 · 0 comments

Comments

@inetic
Copy link
Member

inetic commented Oct 31, 2016

When the np1sec headers are included in projects other than the library itself, they should
be included in a form

#include <np1sec/interface.h>

Instead of

#include "src/interface.h"

As is done e.g. here. Keywords such as "interface" are generic and very likely used in other projects as well so adding the "np1sec/" prefix would avoid file name clashes. Plus it is nice to be explicit about where the header is located.

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

No branches or pull requests

1 participant