mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
16 lines
205 B
C++
16 lines
205 B
C++
typedef int PRUint32;
|
|
typedef int PRInt32;
|
|
|
|
typedef PRUint32 nsresult;
|
|
|
|
int x;
|
|
|
|
nsresult foo(__attribute__((user("outparam"))) int *a) {
|
|
if (x) {
|
|
*a = 1;
|
|
return 0;
|
|
} else {
|
|
return 1;
|
|
}
|
|
}
|