mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
16 lines
198 B
C++
16 lines
198 B
C++
|
typedef int PRUint32;
|
||
|
typedef PRUint32 nsresult;
|
||
|
|
||
|
char *pseudomalloc();
|
||
|
|
||
|
nsresult foo(char **result)
|
||
|
{
|
||
|
*result = pseudomalloc();
|
||
|
if (!*result)
|
||
|
return 1;
|
||
|
|
||
|
// fill in *result
|
||
|
|
||
|
return 0;
|
||
|
}
|