VocalEasel/Sources/VLDebugFlags.cpp

23 lines
354 B
C++
Raw Normal View History

2007-08-18 16:12:51 +00:00
//
// File: VLDebugFlags.cpp - Runtime debugging flags
//
// Author(s):
//
// (MN) Matthias Neeracher
//
// Copyright © 2007 Matthias Neeracher
//
#include "VLDebugFlags.h"
#include <stdlib.h>
uint32_t VLDebugFlags::sFlags = 0;
void VLDebugFlags::Update()
{
const char * dbg = getenv("VOCALEASEL_DEBUG");
if (dbg)
sFlags = atoi(dbg);
}