2008-05-05 10:24:13 -07:00
|
|
|
typedef int PRUint32;
|
|
|
|
typedef int PRInt32;
|
|
|
|
|
|
|
|
typedef PRUint32 nsresult;
|
|
|
|
|
2009-07-27 07:47:22 -07:00
|
|
|
nsresult foo(nsresult x, __attribute__((user("outparam"))) int *a) {
|
2008-05-05 10:24:13 -07:00
|
|
|
if (x == 0) {
|
|
|
|
*a = 1;
|
|
|
|
}
|
|
|
|
return x;
|
|
|
|
}
|