From 2cf979605997f5da705786cecdafc7381a9b7b3b Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 25 Nov 2016 00:02:12 +0000 Subject: Gem f648ecc04dce1ef1380e4d28ced56aca733d6228 linux/amd64 built 'master:f648ecc04dce1ef1380e4d28ced56aca733d6228' for linux/amd64 --- Gem/develop/include/Gem/Utils/nop.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Gem/develop/include/Gem/Utils/nop.h (limited to 'Gem/develop/include') diff --git a/Gem/develop/include/Gem/Utils/nop.h b/Gem/develop/include/Gem/Utils/nop.h new file mode 100644 index 0000000..0be005b --- /dev/null +++ b/Gem/develop/include/Gem/Utils/nop.h @@ -0,0 +1,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 + -- cgit v1.2.1