Blender  V3.3
Macros
debug.cpp File Reference
#include "util/debug.h"
#include <stdlib.h>
#include "bvh/params.h"
#include "util/log.h"
#include "util/string.h"

Go to the source code of this file.

Macros

#define STRINGIFY(x)   #x
 
#define CHECK_CPU_FLAGS(flag, env)
 

Macro Definition Documentation

◆ CHECK_CPU_FLAGS

#define CHECK_CPU_FLAGS (   flag,
  env 
)
Value:
do { \
flag = (getenv(env) == NULL); \
if (!flag) { \
VLOG_INFO << "Disabling " << STRINGIFY(flag) << " instruction set."; \
} \
} while (0)
#define STRINGIFY(x)

◆ STRINGIFY

#define STRINGIFY (   x)    #x