Phoxonics
1.0
Object Oriented FDTD Software
Home
Installation
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
src
client_opengl
include
Log.hpp
Go to the documentation of this file.
1
/*
2
* Log.hpp
3
*
4
* Created on: Jul 3, 2014
5
* Author: nano
6
*/
7
8
//==============================================================================
9
/*
10
Basic macro for logging (can be extended for other target builds; i.e, using
11
NSLog for OS X / iOS). Could also be modified to log to a file instead of
12
console.
13
14
3/11/2014
15
SDLTutorials.com
16
Tim Jones
17
*/
18
//==============================================================================
19
#ifndef LOG_HPP_
20
#define LOG_HPP_
21
#include <stdio.h>
22
23
#define DEBUG 1
24
25
#ifdef DEBUG
26
#define log(...) printf(__VA_ARGS__); printf("\n");
27
#else
28
#define log(...) ;
29
#endif
30
31
#endif
/* LOG_HPP_ */
Generated on Sat Mar 4 2017 23:33:39 for Phoxonics by
1.8.8