Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vtrlx
Copy link

@vtrlx vtrlx commented Oct 3, 2020

This PR just makes a few changes mostly for convenience.

  • The functions under "PRIVATE" in vector.h are moved to the top of vector.c so they can actually stay private.
  • The definition of MAX is wrapped in #ifndef MAX.
  • The test and example executables are placed in .gitignore.

vtrlx added 2 commits October 1, 2020 19:31
In a different project, I needed to #undef MAX in order to import
vector.h without compile errors.

This commit also moves all of other functions under the "PRIVATE"
heading into vector.c as well, in order for them to truly be private.
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.

1 participant