[DEBUG] correct .hpp port + clean libC include
This commit is contained in:
parent
ce80d954b7
commit
bf5a43b5bd
@ -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
|
@ -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") ) {
|
||||||
|
@ -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) {
|
||||||
|
@ -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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user