mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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;
|
||
|
}
|
||
|
}
|