Skip to content
Snippets Groups Projects
Commit e6cf525a authored by BytesGalore's avatar BytesGalore
Browse files

Merge pull request #1792 from BytesGalore/rename_cpp_header_to_hpp

renamed the cpp header file from `*.h` to `*.hpp` to avoid false positive when require `extern "C"` in a C header.
parents 42f96b0d 1f011eb1
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* @} * @}
*/ */
#include "cpp_class.h" #include "cpp_class.hpp"
cpp_class::cpp_class() cpp_class::cpp_class()
{ {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* @ingroup examples * @ingroup examples
* @{ * @{
* *
* @file cpp_class.h * @file cpp_class.hpp
* @brief simple c++ object declaration with public and private functions * @brief simple c++ object declaration with public and private functions
* *
* @author Martin Landsmann <martin.landsmann@haw-hamburg.de> * @author Martin Landsmann <martin.landsmann@haw-hamburg.de>
......
...@@ -32,7 +32,7 @@ extern "C" { ...@@ -32,7 +32,7 @@ extern "C" {
#include <cstdio> #include <cstdio>
#include <vector> #include <vector>
#include "cpp_class.h" #include "cpp_class.hpp"
using namespace std; using namespace std;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment