gecko-dev/xpcom/tests/static-checker/onull2.cpp

10 строки
153 B
C++

typedef int PRUint32;
typedef int PRInt32;
typedef PRUint32 nsresult;
nsresult foo(__attribute__((user("outparam"))) int *a) {
*a = 0;
return 1;
}