Changeset 91dd8a5 in git
- Timestamp:
- Mar 10, 2014, 5:25:17 PM (10 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- fa502097e0f6e99adaf0a797bd0957c1c79369ba
- Parents:
- daa13f7cda0d499a1e8ef40d88b9b73bf2494fc2
- Location:
- libpolys/reporter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/reporter/reporter.cc
rdaa13f r91dd8a5 157 157 if (strlen(r)<1024) 158 158 { 159 // if the used buffer is a "smal block", 160 // substitue the "large" initial block by a smal one 159 161 char *s=omStrDup(r); omFree(r); r=s; 160 162 } -
libpolys/reporter/reporter.h
rdaa13f r91dd8a5 60 60 /* the C++-part: */ 61 61 62 // a new output buffer will be allocated by StringSetS, 63 // used by several calls to StringAppend/StringAppendS 64 // and closed by StringEndS: 65 // StringEndS() returns this buffer which must be freed by omFree 66 // several buffer may be active at the same time 67 // (for example in subroutines) 62 68 void StringAppend(const char *fmt, ...); 63 69 void StringAppendS(const char *s); … … 77 83 * (i.e. if Singular runs as a server) 78 84 */ 85 // unlike the StringSet/StringEndS stuff: 86 // only one SPrintStart/SPrintEnd buffer may be active 87 // the returned string must be free via omFree 79 88 void SPrintStart(); 80 89 char* SPrintEnd();
Note: See TracChangeset
for help on using the changeset viewer.