aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop/include/Gem/Utils/nop.h
blob: 0be005bb82776d66ec0fb2aa5700f2688ea963b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*-----------------------------------------------------------------
LOG
    GEM - Graphics Environment for Multimedia

    nop.h
       - contains nop functions/macros
       - part of GEM

    Copyright (c) 2016 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
    For information on usage and redistribution, and for a DISCLAIMER OF ALL
    WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.

-----------------------------------------------------------------*/

#ifndef _INCLUDE__GEM_UTILS_NOP_H_
#define _INCLUDE__GEM_UTILS_NOP_H_

#if __STDC_VERSION__ >= 199901L
# define nop(...)
#else
# define nop
#endif

static inline void gem__nop_post(void) { ; }
static inline void gem__nop_post(const char*fmt, ...) { ; }
#define nop_post gem__nop_post

#endif  // for header file