2011-09-28 23:19:26 -07:00
|
|
|
typedef int bool;
|
2008-05-20 11:26:03 -07:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|