From c1ab11e532cae919470637ac4355f0fb099741e4 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sun, 22 Dec 2013 19:02:55 +0100 Subject: [PATCH] [DEV] add monk documentation --- etk/RegExp.h | 6 +++--- lutin_etk.py | 5 ----- monk_etk.py | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 monk_etk.py diff --git a/etk/RegExp.h b/etk/RegExp.h index 365f118..6ff9976 100644 --- a/etk/RegExp.h +++ b/etk/RegExp.h @@ -46,14 +46,14 @@ multiplicity : {x,y} ==> {x, y} */ -typedef struct { +struct convertionTable { bool haveBackSlash; char inputValue; char newValue; enum etk::regExpPrivateSection specialChar; -}convertionTable_ts; +}; -extern const convertionTable_ts constConvertionTable[]; +extern const struct convertionTable constConvertionTable[]; extern const int64_t constConvertionTableSize; void displayElem(const std::vector& _data, int64_t _start=0, int64_t _stop=0x7FFFFFFF); diff --git a/lutin_etk.py b/lutin_etk.py index db8c790..552c0fa 100644 --- a/lutin_etk.py +++ b/lutin_etk.py @@ -5,11 +5,6 @@ import lutinTools def Create(target): # module name is 'edn' and type binary. myModule = lutinModule.module(__file__, 'etk', 'LIBRARY') - # enable doculentation : - myModule.doc_enable() - myModule.documentation.set_website("http://HeeroYui.github.io/etk/") - myModule.documentation.set_path(lutinTools.GetCurrentPath(__file__) + "/etk/") - myModule.documentation.set_external_link(['linearmath','minizip']) # add extra compilation flags : myModule.add_extra_compile_flags() # add the file to compile: diff --git a/monk_etk.py b/monk_etk.py new file mode 100644 index 0000000..d907e07 --- /dev/null +++ b/monk_etk.py @@ -0,0 +1,15 @@ +#!/usr/bin/python +import monkModule as module +import monkTools as tools + +def create(): + # module name is 'edn' and type binary. + myModule = module.Module(__file__, 'etk', 'LIBRARY') + # enable doculentation : + myModule.set_website("http://heeroyui.github.io/etk/") + myModule.set_path(tools.get_current_path(__file__) + "/etk/") + # add the currrent module at the + return myModule + +def get_desc(): + return ""