~jeanfrancois.roy/mpqkit/1.0b1

« back to all changes in this revision

Viewing changes to mpqdebug.h

  • Committer: bahamut
  • Date: 2007-04-03 01:12:37 UTC
  • Revision ID: svn-v4:08a27de9-96f8-0310-9aec-cd9f9b5b01a8:trunk:158
- svn refactor phase 2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  mpqdebug.h
 
3
 *  MPQKit
 
4
 *
 
5
 *  Created by Anarchie on Wed Jun 11 2003.
 
6
 *  Copyright (c) 2003 MacStorm. All rights reserved.
 
7
 *
 
8
 */
 
9
 
 
10
#if defined(DEBUG)
 
11
static inline void MPQDebugLog(NSString * x, ...)
 
12
{
 
13
    va_list va;
 
14
    va_start(va, x);
 
15
    NSLogv(x, va);
 
16
    va_end(va);
 
17
}
 
18
#else
 
19
static inline void MPQDebugLog(NSString * x, ...)
 
20
{
 
21
 
 
22
}
 
23
#endif