[DEBUG] correct .hpp port + clean libC include

This commit is contained in:
Edouard DUPIN 2016-10-02 23:44:34 +02:00
parent ce80d954b7
commit bf5a43b5bd
5 changed files with 6 additions and 23 deletions

View File

@ -21,5 +21,9 @@ def create(target, module_name):
'esvg', 'esvg',
'etk' 'etk'
]) ])
my_module.add_file_patterns([
'*.hpp',
'*.md',
])
return my_module return my_module

View File

@ -11,7 +11,7 @@
#include <egami/wrapperPNG.hpp> #include <egami/wrapperPNG.hpp>
#include <egami/wrapperBMP.hpp> #include <egami/wrapperBMP.hpp>
#include <egami/wrapperEDF.hpp> #include <egami/wrapperEDF.hpp>
#include <edtaa3/edtaa3func.hpp> #include <edtaa3/edtaa3func.h>
bool egami::scalable(const std::string& _fileName) { bool egami::scalable(const std::string& _fileName) {
if (true == etk::end_with(_fileName, ".svg") ) { if (true == etk::end_with(_fileName, ".svg") ) {

View File

@ -9,7 +9,7 @@
#include <egami/Image.hpp> #include <egami/Image.hpp>
#include <egami/wrapperPNG.hpp> #include <egami/wrapperPNG.hpp>
#include <etk/os/FSNode.hpp> #include <etk/os/FSNode.hpp>
#include <png/png.hpp> #include <png/png.h>
// we must change the access of the IO of the png lib : // we must change the access of the IO of the png lib :
static void local_ReadData(png_structp png_ptr, png_bytep data, png_size_t length) { static void local_ReadData(png_structp png_ptr, png_bytep data, png_size_t length) {

View File

@ -1,21 +0,0 @@
#!/usr/bin/python
import monkModule as module
import monkTools as tools
import monkDebug as debug
import datetime
def get_desc():
return "e-gami library (image generator from multiple image type)"
def create():
# module name is 'egami' and type binary.
myModule = module.Module(__file__, 'egami', 'LIBRARY')
# enable doculentation :
myModule.set_website("http://heeroyui.github.io/egami/")
myModule.set_website_sources("http://github.com/heeroyui/egami/")
myModule.set_path(tools.get_current_path(__file__) + "/egami/")
# add the currrent module at the
return myModule