Changeset f323dd1 in git for libpolys/reporter
- Timestamp:
- Feb 29, 2012, 5:18:58 PM (12 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 8d8cd944663cf80b3fd163a42279526ce163a5fd
- Parents:
- d8b0f69f9828897dca663d5bb516369b1b0ac64a
- Location:
- libpolys/reporter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/reporter/reporter.cc
rd8b0f69 rf323dd1 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id$ */5 4 /* 6 5 * ABSTRACT: output system … … 22 21 23 22 #include <reporter/reporter.h> 23 #include <findexec/feResource.h> 24 24 #include <omalloc/omalloc.h> 25 25 //#include "options.h" … … 411 411 return s; 412 412 } 413 414 void feStringAppendResources(int warn) 415 { 416 int i = 0; 417 char* r; 418 StringAppend("%-10s:\t%s\n", "argv[0]", feArgv0); 419 while (feResourceConfigs[i].key != NULL) 420 { 421 r = feResource(feResourceConfigs[i].key, warn); 422 StringAppend("%-10s:\t%s\n", feResourceConfigs[i].key, 423 (r != NULL ? r : "")); 424 i++; 425 } 426 } -
libpolys/reporter/reporter.h
rd8b0f69 rf323dd1 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id$ */7 6 /* 8 7 * ABSTRACT: basic output … … 65 64 const char * eati(const char *s, int *i); 66 65 66 // Prints resources into string with StringAppend, etc 67 void feStringAppendResources(int warn = -1); 67 68 #endif /* c++ only */ 68 69
Note: See TracChangeset
for help on using the changeset viewer.