Skip to content

Commit

Permalink
Replaced include guards with #pragma once (#32)
Browse files Browse the repository at this point in the history
Defined all functions with inline specifier to support multiple source files including this header only lib in same project
  • Loading branch information
bjornborg authored Oct 23, 2023
1 parent 779f108 commit 4d025b5
Show file tree
Hide file tree
Showing 15 changed files with 200 additions and 255 deletions.
6 changes: 1 addition & 5 deletions include/matplotlibcpp17/animation.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
* @file animation.h
* @brief corresponding header for matplotlib.animation
**/

#ifndef MATPLOTLIBCPP17_ANIMATION_H
#define MATPLOTLIBCPP17_ANIMATION_H
#pragma once

#include <pybind11/pybind11.h>

Expand Down Expand Up @@ -40,5 +38,3 @@ ObjectWrapper ArtistAnimation::save(const pybind11::tuple &args,
}

} // namespace matplotlibcpp17::animation

#endif /* MATPLOTLIBCPP17_ANIMATION_H */
Loading

0 comments on commit 4d025b5

Please sign in to comment.