yast2-core
Macros
Y2Logger.h File Reference
#include <ycp/y2log.h>

Go to the source code of this file.

Macros

#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)
 

Macro Definition Documentation

#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)
#define Y2_RETURN_VOID (   format,
  args... 
)    do { ycp2error(format,##args); return YCPNull(); } while(0)
#define Y2_RETURN_YCP_FALSE (   format,
  args... 
)    do { ycp2error(format,##args); return YCPBoolean(false); } while(0)

Referenced by ModulesAgent::Write().


Generated on a sunny day for yast2-core by doxygen 1.8.5