[DEBUG] correct .hpp port + clean libC include

This commit is contained in:
Edouard DUPIN 2016-10-02 23:45:49 +02:00
parent d68e93ad68
commit 9cb4e88f17
7 changed files with 9 additions and 28 deletions

View File

@ -24,7 +24,7 @@ def create(target, module_name):
'debug.hpp', 'debug.hpp',
]) ])
my_module.add_file_patterns([ my_module.add_file_patterns([
'*.h', '*.hpp',
'*.md', '*.md',
]) ])
my_module.add_module_define([ my_module.add_module_define([

View File

@ -9,7 +9,7 @@
// define type : uintXX_t and intXX_t // define type : uintXX_t and intXX_t
#define __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS
// note in android include the macro of min max are overwitten // note in android include the macro of min max are overwitten
#include <stdint.h> #include <cstdint>
namespace ememory { namespace ememory {
/** /**

View File

@ -8,7 +8,7 @@
#pragma once #pragma once
#include <elog/log.hpp> #include <elog/log.hpp>
#include <assert.h> #include <cassert>
namespace ememory { namespace ememory {
int32_t getLogId(); int32_t getLogId();

View File

@ -5,8 +5,8 @@
*/ */
#pragma once #pragma once
#include <ememory/SharedPtr.h> #include <ememory/SharedPtr.hpp>
#include <ememory/WeakPtr.h> #include <ememory/WeakPtr.hpp>
template<typename EMEMORY_TYPE> template<typename EMEMORY_TYPE>
ememory::EnableSharedFromThis<EMEMORY_TYPE>::EnableSharedFromThis() : ememory::EnableSharedFromThis<EMEMORY_TYPE>::EnableSharedFromThis() :

View File

@ -7,8 +7,8 @@
#include <vector> #include <vector>
#include <mutex> #include <mutex>
#include <ememory/debug.h> #include <ememory/debug.hpp>
#include <ememory/WeakPtr.h> #include <ememory/WeakPtr.hpp>
template<typename EMEMORY_TYPE> template<typename EMEMORY_TYPE>
template<class EMEMORY_TYPE2, template<class EMEMORY_TYPE2,

View File

@ -7,8 +7,8 @@
#include <vector> #include <vector>
#include <mutex> #include <mutex>
#include <ememory/debug.h> #include <ememory/debug.hpp>
#include <ememory/Counter.h> #include <ememory/Counter.hpp>
template<typename EMEMORY_TYPE> template<typename EMEMORY_TYPE>
ememory::WeakPtr<EMEMORY_TYPE>::WeakPtr(): ememory::WeakPtr<EMEMORY_TYPE>::WeakPtr():

View File

@ -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