projects
/
tedtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
97949d6
)
reduce size of context, fix double support in template
author
teodor
<teodor>
Tue, 30 Mar 2010 13:56:46 +0000
(13:56 +0000)
committer
teodor
<teodor>
Tue, 30 Mar 2010 13:56:46 +0000
(13:56 +0000)
template.c
patch
|
blob
|
history
template.h
patch
|
blob
|
history
tmalloc.h
patch
|
blob
|
history
diff --git
a/template.c
b/template.c
index
9e22f18
..
fbc971e
100644
(file)
--- a/
template.c
+++ b/
template.c
@@
-1051,7
+1051,7
@@
int
setTemplateValueDouble( TemplateInstance tmpl, char * key, double val ) {
storage.flags = TND_DEFINED;
storage.type = valueDouble;
setTemplateValueDouble( TemplateInstance tmpl, char * key, double val ) {
storage.flags = TND_DEFINED;
storage.type = valueDouble;
- storage.value.
bool
Value = val;
+ storage.value.
double
Value = val;
return setTemplateValue( tmpl, key );
}
return setTemplateValue( tmpl, key );
}
diff --git
a/template.h
b/template.h
index
9806415
..
97e9070
100644
(file)
--- a/
template.h
+++ b/
template.h
@@
-33,7
+33,7
@@
******************************************************************************
* SYNTAX *
******************************************************************************
******************************************************************************
* SYNTAX *
******************************************************************************
- * <% EXPRESSION , "FORMAT"] [# "DEFAULTVALUE"] [|(h|u)]%>
+ * <% EXPRESSION
[
, "FORMAT"] [# "DEFAULTVALUE"] [|(h|u)]%>
* - format value should be as in strftime for time value and printf
* for all other. Currently, bool values have only "true"/"false"
* string values
* - format value should be as in strftime for time value and printf
* for all other. Currently, bool values have only "true"/"false"
* string values
diff --git
a/tmalloc.h
b/tmalloc.h
index
2d1fd69
..
f1abcee
100644
(file)
--- a/
tmalloc.h
+++ b/
tmalloc.h
@@
-46,7
+46,7
@@
int clrspace(char *buf);
/* fast allocate */
/* fast allocate */
-#define CNTXCHUNK (
102
4*1024)
+#define CNTXCHUNK (
6
4*1024)
typedef struct MemoryChunk {
size_t size;
typedef struct MemoryChunk {
size_t size;