diff options
author | Brad King <brad.king@kitware.com> | 2002-12-17 22:05:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-12-17 22:05:59 (GMT) |
commit | 10931b5e66452f6f6af05dbeecbf2c7108391fdb (patch) | |
tree | aa41c458a2e5235fe382997693e8356c968d5994 /Source/cmCPluginAPI.cxx | |
parent | 3303599c7586bffa39b6ec79f885c3f008bca702 (diff) | |
download | CMake-10931b5e66452f6f6af05dbeecbf2c7108391fdb.zip CMake-10931b5e66452f6f6af05dbeecbf2c7108391fdb.tar.gz CMake-10931b5e66452f6f6af05dbeecbf2c7108391fdb.tar.bz2 |
ENH: Added return type int to ExecuteCommand.
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 4b51ebe..4bec426 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -291,8 +291,8 @@ char *cmExpandVariablesInString(void *arg, const char *source, } -void cmExecuteCommand(void *arg, const char *name, - int numArgs, const char **args) +int cmExecuteCommand(void *arg, const char *name, + int numArgs, const char **args) { cmMakefile *mf = static_cast<cmMakefile *>(arg); cmListFileFunction lff; @@ -302,7 +302,7 @@ void cmExecuteCommand(void *arg, const char *name, // Assume all arguments are quoted. lff.m_Arguments.push_back(cmListFileArgument(args[i], true)); } - mf->ExecuteCommand(lff); + return mf->ExecuteCommand(lff); } void cmExpandSourceListArguments(void *arg, |