Changeset 8c9912 in git for libpolys/resources
- Timestamp:
- Apr 19, 2011, 6:50:50 PM (13 years ago)
- Branches:
- (u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
- Children:
- e5422deba036de4a7ef8e9f6ee39173fdf1569f9
- Parents:
- e1761c4c3c661c1550c448e992db9c52e345ed63
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-04-19 18:50:50+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:20+01:00
- Location:
- libpolys/resources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/resources/feFopen.cc
re1761c r8c9912 12 12 #include <reporter/reporter.h> 13 13 14 #include <resources/feFopen.h>15 #include <resources/feResource.h>14 #include "feFopen.h" 15 #include "feResource.h" 16 16 17 17 -
libpolys/resources/feResource.cc
re1761c r8c9912 153 153 } 154 154 155 char* feResource(const char id, int warn) 156 { 157 return feResource(feGetResourceConfig(id), warn); 158 } 159 155 160 char* feGetResource(const char id) 156 161 { 157 162 return feResource(feGetResourceConfig(id), -1); 158 }159 160 char* feResource(const char id, int warn)161 {162 return feResource(feGetResourceConfig(id), warn);163 163 } 164 164 -
libpolys/resources/feResource.h
re1761c r8c9912 6 6 #endif 7 7 8 #include <omalloc/mylimits.h> 9 8 10 #define DIR_SEP '/' 9 11 #define DIR_SEPP "/" 12 13 #ifndef MAXPATHLEN 14 #define MAXPATHLEN 1024 15 #endif 16 10 17 11 18 /***************************************************************** … … 21 28 char* feResource(const char id, int warn = -1); 22 29 char* feResource(const char* key, int warn = -1); 30 31 char* feGetResource(const char id); 32 33 // char* feResourceDefault(const char id); 34 // char* feResourceDefault(const char* key); 35 36 23 37 // This needs to be called before the first call to feResource 24 38 // Initializes Resources, SearchPath, and extends PATH … … 28 42 // Prints resources into string with StringAppend, etc 29 43 void feStringAppendResources(int warn = -1); 44 30 45 31 46
Note: See TracChangeset
for help on using the changeset viewer.