repo.or.cz
/
wine-gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 462294 - Add "View Video" to context menu for <video> elements. r=gavin, ui...
[wine-gecko.git]
/
xpcom
/
tests
/
static-checker
/
o10.cpp
blob
362a05580975b86245bd65341d69dda190a50f2d
1
typedef
int
PRUint32
;
2
typedef
int
PRInt32
;
3
4
typedef
PRUint32 nsresult
;
5
typedef
short
PRUnichar
;
6
7
class
nsAString
{
8
public
:
9
void
Read
()
const
;
10
void
Mutate
();
11
};
12
13
nsresult
bar
();
14
15
nsresult
foo
(
nsAString
&
s
) {
16
nsresult rv
=
bar
();
17
s
.
Read
();
18
if
(
rv
==
0
) {
19
s
.
Mutate
();
20
}
21
return
rv
;
22
}