Export (0) Print
Expand All

__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

Community Additions

ADD
Show:
© 2014 Microsoft