[DEV/API] change .h in .hpp

This commit is contained in:
Edouard DUPIN 2016-09-30 22:28:36 +02:00
parent 18ed76c268
commit d68e93ad68
16 changed files with 31 additions and 31 deletions

View File

@ -21,7 +21,7 @@ def create(target, module_name):
'*operator<<*',
])
my_module.add_exclude_file([
'debug.h',
'debug.hpp',
])
my_module.add_file_patterns([
'*.h',

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file)
*/
#include <ememory/Counter.h>
#include <ememory/debug.h>
#include <ememory/Counter.hpp>
#include <ememory/debug.hpp>
ememory::Counter::Counter(bool _fromWeak):
m_counterShared(1),

View File

@ -7,8 +7,8 @@
#include <vector>
#include <mutex>
#include <ememory/SharedPtr.h>
#include <ememory/WeakPtr.h>
#include <ememory/SharedPtr.hpp>
#include <ememory/WeakPtr.hpp>
namespace ememory {

View File

@ -7,9 +7,9 @@
#include <vector>
#include <mutex>
#include <ememory/debug.h>
#include <ememory/Counter.h>
#include <ememory/EnableSharedFromThis.h>
#include <ememory/debug.hpp>
#include <ememory/Counter.hpp>
#include <ememory/EnableSharedFromThis.hpp>
namespace ememory {
template<typename> class WeakPtr;

View File

@ -7,8 +7,8 @@
#include <vector>
#include <mutex>
#include <ememory/debug.h>
#include <ememory/Counter.h>
#include <ememory/debug.hpp>
#include <ememory/Counter.hpp>
namespace ememory {
template<typename> class SharedPtr;

View File

@ -6,7 +6,7 @@
* @license APACHE v2.0 (see license file)
*/
#include <ememory/debug.h>
#include <ememory/debug.hpp>
int32_t ememory::getLogId() {
static int32_t g_val = elog::registerInstance("ememory");

View File

@ -7,7 +7,7 @@
*/
#pragma once
#include <elog/log.h>
#include <elog/log.hpp>
#include <assert.h>
namespace ememory {

View File

@ -7,9 +7,9 @@
#include <vector>
#include <mutex>
#include <ememory/SharedPtr.h>
#include <ememory/WeakPtr.h>
#include <ememory/EnableSharedFromThis.h>
#include <ememory/SharedPtr.hpp>
#include <ememory/WeakPtr.hpp>
#include <ememory/EnableSharedFromThis.hpp>
/**
* @brief Ememory is a namespace to represent the @code #include <memory> @endcode part ==> simple memory access abstraction

View File

@ -34,12 +34,12 @@ def create(target, module_name):
])
my_module.add_header_file([
'ememory/debug.h',
'ememory/memory.h',
'ememory/Counter.h',
'ememory/SharedPtr.h',
'ememory/WeakPtr.h',
'ememory/EnableSharedFromThis.h',
'ememory/debug.hpp',
'ememory/memory.hpp',
'ememory/Counter.hpp',
'ememory/SharedPtr.hpp',
'ememory/WeakPtr.hpp',
'ememory/EnableSharedFromThis.hpp',
'ememory/details/memory.hxx',
'ememory/details/SharedPtr.hxx',
'ememory/details/WeakPtr.hxx',

View File

@ -4,10 +4,10 @@
* @license APACHE v2.0 (see license file)
*/
#include <test-debug/debug.h>
#include <test-debug/debug.hpp>
#include <vector>
#include <gtest/gtest.h>
#include <etk/etk.h>
#include <etk/etk.hpp>
int main(int _argc, const char *_argv[]) {

View File

@ -5,8 +5,8 @@
*/
#include <gtest/gtest.h>
#include <ememory/memory.h>
#include "main.h"
#include <ememory/memory.hpp>
#include "main.hpp"
namespace testEnableCast {
class testClass {

View File

@ -5,8 +5,8 @@
*/
#include <gtest/gtest.h>
#include <ememory/memory.h>
#include "main.h"
#include <ememory/memory.hpp>
#include "main.hpp"
namespace testESFT {
class TestClassBase : public ememory::EnableSharedFromThis<TestClassBase> {

View File

@ -5,8 +5,8 @@
*/
#include <gtest/gtest.h>
#include <ememory/memory.h>
#include "main.h"
#include <ememory/memory.hpp>
#include "main.hpp"
TEST(TestShared, createAndDestroy) {
ememory::SharedPtr<std::string> data = ememory::makeShared<std::string>("coucou");

View File

@ -5,8 +5,8 @@
*/
#include <gtest/gtest.h>
#include <ememory/memory.h>
#include "main.h"
#include <ememory/memory.hpp>
#include "main.hpp"
TEST(TestWeak, createAndDestroy) {
ememory::SharedPtr<std::string> data = ememory::makeShared<std::string>("coucou");