DEBUG CODE

From PhoenixWiki

Jump to: navigation, search

Macro which outputs code only in debug builds.

Prototype

#ifdef EFI_DEBUG
  #define DEBUG_CODE(code) code
#else
  #define DEBUG_CODE(code)
#endif

Copyright (C) 2008 Phoenix Technologies Ltd. All Rights Reserved.

Personal tools