Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

__noop 

Visual Studio 2005

__noop gives you a function name to use when you want the function to be ignored and the argument list unevaluated.


__noop(functionname)

Parameters

Functionname

Name of function to be ignored
  // The following code shows how you could use __noop
  // compile with or without /DDEBUG
#include <stdio.h>

#if DEBUG
  #define PRINT  printf
#else
  #define PRINT  __noop
#endif

void main() {
PRINT("\nhello\n");
}

Routine Required header Architecture

__noop

<cmnintrin.h>

x86, ARM, SH-4, MIPS

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.