From 443d6aacf211eba7fbb96f7aecb48458d53a5e18 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 10 Aug 2022 10:23:23 +0200 Subject: [PATCH] blackmagic_common.h->hpp: contains only C++ funcs The header contains only C++ linked functions thus mark it as such. --- src/audio/playback/decklink.cpp | 2 +- src/blackmagic_common.cpp | 2 +- src/{blackmagic_common.h => blackmagic_common.hpp} | 8 ++++---- src/video_capture/decklink.cpp | 2 +- src/video_display/decklink.cpp | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename src/{blackmagic_common.h => blackmagic_common.hpp} (97%) diff --git a/src/audio/playback/decklink.cpp b/src/audio/playback/decklink.cpp index 4e2941c0e..fe20e7b17 100644 --- a/src/audio/playback/decklink.cpp +++ b/src/audio/playback/decklink.cpp @@ -46,7 +46,7 @@ #include "audio/audio_playback.h" #include "audio/types.h" #include "audio/utils.h" -#include "blackmagic_common.h" +#include "blackmagic_common.hpp" #include "debug.h" #include "host.h" #include "lib_common.h" diff --git a/src/blackmagic_common.cpp b/src/blackmagic_common.cpp index 80f24a7aa..cddcecc79 100644 --- a/src/blackmagic_common.cpp +++ b/src/blackmagic_common.cpp @@ -43,7 +43,7 @@ #include "debug.h" -#include "blackmagic_common.h" +#include "blackmagic_common.hpp" #include "DeckLinkAPIVersion.h" #include #include diff --git a/src/blackmagic_common.h b/src/blackmagic_common.hpp similarity index 97% rename from src/blackmagic_common.h rename to src/blackmagic_common.hpp index 65969a1ec..2291d3372 100644 --- a/src/blackmagic_common.h +++ b/src/blackmagic_common.hpp @@ -1,5 +1,5 @@ /** - * @file blackmagic_common.h + * @file blackmagic_common.hpp * @author Martin Pulec */ /* @@ -35,8 +35,8 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef BLACKMAGIC_COMMON_H -#define BLACKMAGIC_COMMON_H +#ifndef BLACKMAGIC_COMMON_HPP +#define BLACKMAGIC_COMMON_HPP #ifdef WIN32 #include "DeckLinkAPI_h.h" /* From DeckLink SDK */ @@ -127,5 +127,5 @@ std::ostream &operator<<(std::ostream &output, REFIID iid); }\ } while (0) -#endif // defined BLACKMAGIC_COMMON_H +#endif // defined BLACKMAGIC_COMMON_HPP diff --git a/src/video_capture/decklink.cpp b/src/video_capture/decklink.cpp index 7d23dc5a7..251b68d73 100644 --- a/src/video_capture/decklink.cpp +++ b/src/video_capture/decklink.cpp @@ -65,7 +65,7 @@ #include #include -#include "blackmagic_common.h" +#include "blackmagic_common.hpp" #include "audio/types.h" #include "audio/utils.h" #include "debug.h" diff --git a/src/video_display/decklink.cpp b/src/video_display/decklink.cpp index 15e3e6bdf..1d002e9da 100644 --- a/src/video_display/decklink.cpp +++ b/src/video_display/decklink.cpp @@ -50,7 +50,7 @@ #define MOD_NAME "[Decklink display] " #include "audio/types.h" -#include "blackmagic_common.h" +#include "blackmagic_common.hpp" #include "compat/platform_time.h" #include "debug.h" #include "host.h"