mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 03:04:00 +00:00
23 lines
354 B
C++
23 lines
354 B
C++
//
|
|
// 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);
|
|
}
|