mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
d8e503c38b
--HG-- rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
15 lines
233 B
C++
15 lines
233 B
C++
typedef int bool;
|
|
typedef int PRUint32;
|
|
typedef int PRInt32;
|
|
|
|
typedef PRUint32 nsresult;
|
|
typedef short PRUnichar;
|
|
|
|
nsresult baz(int *p);
|
|
|
|
void bar(int *p __attribute__((user("NS_outparam")))) {
|
|
if (baz(p) != 0) {
|
|
*p = 0;
|
|
}
|
|
}
|