Skip to content

Commit 4d025b5

Browse files
authored
Replaced include guards with #pragma once (#32)
Defined all functions with inline specifier to support multiple source files including this header only lib in same project
1 parent 779f108 commit 4d025b5

File tree

15 files changed

+200
-255
lines changed

15 files changed

+200
-255
lines changed

include/matplotlibcpp17/animation.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
* @file animation.h
33
* @brief corresponding header for matplotlib.animation
44
**/
5-
6-
#ifndef MATPLOTLIBCPP17_ANIMATION_H
7-
#define MATPLOTLIBCPP17_ANIMATION_H
5+
#pragma once
86

97
#include <pybind11/pybind11.h>
108

@@ -40,5 +38,3 @@ ObjectWrapper ArtistAnimation::save(const pybind11::tuple &args,
4038
}
4139

4240
} // namespace matplotlibcpp17::animation
43-
44-
#endif /* MATPLOTLIBCPP17_ANIMATION_H */

0 commit comments

Comments
 (0)