/*--------------------------------------------------------------------------
  Project:  Manual 2D Library - m2d
  File:     debug.h

  Copyright (C)2007-2009 Nintendo  All Rights Reserved.

  These coded instructions, statements, and computer programs contain
  proprietary information of Nintendo of America Inc. and/or Nintendo
  Company Ltd., and are protected by Federal copyright law. They may
  not be disclosed to third parties or copied or duplicated in any form,
  in whole or in part, without the prior written consent of Nintendo.

  $Revision: 1758 $
 *-------------------------------------------------------------------------*/

#ifndef NTMV_M2D_DEBUG_H_
#define NTMV_M2D_DEBUG_H_

#if defined(__CWCC__)
#pragma once
#endif

#include <nitro/os.h>

//--------------------------------------------------------------------------------
//  Log output to use during development
//
#if defined(NNS_DEBUG)
#define NTMV_LOG(...)    OS_Printf(__VA_ARGS__)
#else
#define NTMV_LOG(...)    ((void)0)
#endif  // #if defined(NNS_DEBUG)

//--------------------------------------------------------------------------------
//  Reports that are always output
//
#define NTMV_REPORT(...)    OS_Printf(__VA_ARGS__)

//--------------------------------------------------------------------------------
//  Warning!
//
#if ! defined(NNS_FINAL)
    #define NTMV_WARNING(exp, ...) \
        (void) ((exp) || (OSi_Warning(__FILE__, __LINE__, __VA_ARGS__), 0))
#else   // #if ! defined(NNS_FINAL)
    #define NTMV_WARNING(exp, ...)     ((void) 0)
#endif  // #if ! defined(NNS_FINAL)

namespace ntmv
{
namespace m2d
{

}   // namespace m2d
}   // namespace ntmv

/* NTMV_M2D_DEBUG_H_ */
#endif
