[DEV/API] change .h in .hpp
This commit is contained in:
parent
18ed76c268
commit
d68e93ad68
@ -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',
|
||||
|
@ -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),
|
||||
|
@ -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 {
|
@ -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;
|
@ -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;
|
@ -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");
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.h>
|
||||
#include <elog/log.hpp>
|
||||
#include <assert.h>
|
||||
|
||||
namespace ememory {
|
@ -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
|
@ -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',
|
||||
|
@ -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[]) {
|
||||
|
@ -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 {
|
||||
|
@ -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> {
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user