diff options
author | John Biddiscombe <jbiddiscombe@skippingmouse.co.uk> | 2001-09-01 20:12:52 (GMT) |
---|---|---|
committer | John Biddiscombe <jbiddiscombe@skippingmouse.co.uk> | 2001-09-01 20:12:52 (GMT) |
commit | 0645a5006166f557524eb31dd18788370f9f5d19 (patch) | |
tree | 1de7c755e84d6d0cb288d3d51e8fa5031fe5b645 /Source/cmMakefile.h | |
parent | 7aa0d0d888e2b36618d81e078ee8fad175031b94 (diff) | |
download | CMake-0645a5006166f557524eb31dd18788370f9f5d19.zip CMake-0645a5006166f557524eb31dd18788370f9f5d19.tar.gz CMake-0645a5006166f557524eb31dd18788370f9f5d19.tar.bz2 |
ENH: ExpandVariables functions return a char * for convenience
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 7161cc8..3b844fa 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -504,8 +504,8 @@ public: * entry in the m_Definitions map. Also @var@ is * expanded to match autoconf style expansions. */ - void ExpandVariablesInString(std::string& source) const; - void ExpandVariablesInString(std::string& source, bool escapeQuotes) const; + const char *ExpandVariablesInString(std::string& source) const; + const char *ExpandVariablesInString(std::string& source, bool escapeQuotes) const; /** * Remove any remaining variables in the string. Anything with ${var} or |