From 9cb4e88f17f6550628f11af24203356605a6d1c0 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sun, 2 Oct 2016 23:45:49 +0200 Subject: [PATCH] [DEBUG] correct .hpp port + clean libC include --- doxy_ememory.py | 2 +- ememory/Counter.hpp | 2 +- ememory/debug.hpp | 2 +- ememory/details/EnableSharedFromThis.hxx | 4 ++-- ememory/details/SharedPtr.hxx | 4 ++-- ememory/details/WeakPtr.hxx | 4 ++-- monk_ememory.py | 19 ------------------- 7 files changed, 9 insertions(+), 28 deletions(-) delete mode 100644 monk_ememory.py diff --git a/doxy_ememory.py b/doxy_ememory.py index d11987a..233b195 100644 --- a/doxy_ememory.py +++ b/doxy_ememory.py @@ -24,7 +24,7 @@ def create(target, module_name): 'debug.hpp', ]) my_module.add_file_patterns([ - '*.h', + '*.hpp', '*.md', ]) my_module.add_module_define([ diff --git a/ememory/Counter.hpp b/ememory/Counter.hpp index 2e63dd7..09375fe 100644 --- a/ememory/Counter.hpp +++ b/ememory/Counter.hpp @@ -9,7 +9,7 @@ // define type : uintXX_t and intXX_t #define __STDC_LIMIT_MACROS // note in android include the macro of min max are overwitten -#include +#include namespace ememory { /** diff --git a/ememory/debug.hpp b/ememory/debug.hpp index f270a8e..5a0420f 100644 --- a/ememory/debug.hpp +++ b/ememory/debug.hpp @@ -8,7 +8,7 @@ #pragma once #include -#include +#include namespace ememory { int32_t getLogId(); diff --git a/ememory/details/EnableSharedFromThis.hxx b/ememory/details/EnableSharedFromThis.hxx index 74cd1b2..bf2fd39 100644 --- a/ememory/details/EnableSharedFromThis.hxx +++ b/ememory/details/EnableSharedFromThis.hxx @@ -5,8 +5,8 @@ */ #pragma once -#include -#include +#include +#include template ememory::EnableSharedFromThis::EnableSharedFromThis() : diff --git a/ememory/details/SharedPtr.hxx b/ememory/details/SharedPtr.hxx index 7a929c3..96c4e9d 100644 --- a/ememory/details/SharedPtr.hxx +++ b/ememory/details/SharedPtr.hxx @@ -7,8 +7,8 @@ #include #include -#include -#include +#include +#include template template #include -#include -#include +#include +#include template ememory::WeakPtr::WeakPtr(): diff --git a/monk_ememory.py b/monk_ememory.py deleted file mode 100644 index 5773b20..0000000 --- a/monk_ememory.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/python -import monkModule -import monkTools as tools -import os - -def get_desc(): - return "e-memory main library (Shared ptr interface)" - -def create(): - # module name is 'ewol' and type binary. - myModule = monkModule.Module(__file__, 'ememory', 'LIBRARY') - # enable doculentation : - myModule.set_website("http://atria-soft.github.io/ememory/") - myModule.set_website_sources("http://github.com/atria-soft/ememory/") - myModule.set_path(os.path.join(tools.get_current_path(__file__), "ememory")) - myModule.set_path_general_doc(os.path.join(tools.get_current_path(__file__), "doc")) - # add the currrent module at the - return myModule -