#include <ycp/y2log.h>
Go to the source code of this file.
Defines | |
#define | Y2_RETURN_FALSE(format, args...) do { ycp2error(format,##args); return false; } while(0) |
#define | Y2_RETURN_VOID(format, args...) do { ycp2error(format,##args); return YCPNull(); } while(0) |
#define | Y2_RETURN_STR(format, args...) do { ycp2error(format,##args); return ""; } while(0) |
#define | Y2_RETURN_YCP_FALSE(format, args...) do { ycp2error(format,##args); return YCPBoolean(false); } while(0) |
#define Y2_RETURN_FALSE | ( | format, | |||
args... | ) | do { ycp2error(format,##args); return false; } while(0) |
#define Y2_RETURN_STR | ( | format, | |||
args... | ) | do { ycp2error(format,##args); return ""; } while(0) |
Referenced by ModulesConf::getArgument(), ModulesConf::getComment(), and ModulesConf::getOption().
#define Y2_RETURN_VOID | ( | format, | |||
args... | ) | do { ycp2error(format,##args); return YCPNull(); } while(0) |
Referenced by ModulesAgent::Dir(), ModulesAgent::otherCommand(), ModulesAgent::Read(), and ModulesAgent::Write().
#define Y2_RETURN_YCP_FALSE | ( | format, | |||
args... | ) | do { ycp2error(format,##args); return YCPBoolean(false); } while(0) |
Referenced by ModulesAgent::Write().