mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
22 lines
292 B
C++
22 lines
292 B
C++
|
/**
|
||
|
* Make sure treehydra/outparams don't choke on pointer-to-members.
|
||
|
*/
|
||
|
|
||
|
typedef int PRUint32;
|
||
|
typedef PRUint32 nsresult;
|
||
|
|
||
|
class A
|
||
|
{
|
||
|
int i;
|
||
|
int j;
|
||
|
};
|
||
|
|
||
|
nsresult
|
||
|
TestMethod(int A::* member,
|
||
|
__attribute__((user("outparam"))) int *out) {
|
||
|
*out = 1;
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
|