Merge from emacs-24; up to 2014-04-25T10:35:01Z!michael.albinus@gmx.de
[bpt/emacs.git] / admin / coccinelle / process.cocci
CommitLineData
3193acd2
DA
1// Change direct access to Lisp_Object fields of struct Lisp_Process to PVAR.
2@@
3struct Lisp_Process *P;
4Lisp_Object O;
5@@
6(
7- P->tty_name
8+ PVAR (P, tty_name)
9|
10- P->name
11+ PVAR (P, name)
12|
13- P->command
14+ PVAR (P, command)
15|
16- P->filter
17+ PVAR (P, filter)
18|
19- P->sentinel
20+ PVAR (P, sentinel)
21|
22- P->log
23+ PVAR (P, log)
24|
25- P->buffer
26+ PVAR (P, buffer)
27|
28- P->childp
29+ PVAR (P, childp)
30|
31- P->plist
32+ PVAR (P, plist)
33|
34- P->type
35+ PVAR (P, type)
36|
37- P->mark
38+ PVAR (P, mark)
39|
40- P->status
41+ PVAR (P, status)
42|
43- P->decode_coding_system
44+ PVAR (P, decode_coding_system)
45|
46- P->decoding_buf
47+ PVAR (P, decoding_buf)
48|
49- P->encode_coding_system
50+ PVAR (P, encode_coding_system)
51|
52- P->encoding_buf
53+ PVAR (P, encoding_buf)
54|
55- P->write_queue
56+ PVAR (P, write_queue)
57
58|
59
60- XPROCESS (O)->tty_name
61+ PVAR (XPROCESS (O), tty_name)
62|
63- XPROCESS (O)->name
64+ PVAR (XPROCESS (O), name)
65|
66- XPROCESS (O)->command
67+ PVAR (XPROCESS (O), command)
68|
69- XPROCESS (O)->filter
70+ PVAR (XPROCESS (O), filter)
71|
72- XPROCESS (O)->sentinel
73+ PVAR (XPROCESS (O), sentinel)
74|
75- XPROCESS (O)->log
76+ PVAR (XPROCESS (O), log)
77|
78- XPROCESS (O)->buffer
79+ PVAR (XPROCESS (O), buffer)
80|
81- XPROCESS (O)->childp
82+ PVAR (XPROCESS (O), childp)
83|
84- XPROCESS (O)->plist
85+ PVAR (XPROCESS (O), plist)
86|
87- XPROCESS (O)->type
88+ PVAR (XPROCESS (O), type)
89|
90- XPROCESS (O)->mark
91+ PVAR (XPROCESS (O), mark)
92|
93- XPROCESS (O)->status
94+ PVAR (XPROCESS (O), status)
95|
96- XPROCESS (O)->decode_coding_system
97+ PVAR (XPROCESS (O), decode_coding_system)
98|
99- XPROCESS (O)->decoding_buf
100+ PVAR (XPROCESS (O), decoding_buf)
101|
102- XPROCESS (O)->encode_coding_system
103+ PVAR (XPROCESS (O), encode_coding_system)
104|
105- XPROCESS (O)->encoding_buf
106+ PVAR (XPROCESS (O), encoding_buf)
107|
108- XPROCESS (O)->write_queue
109+ PVAR (XPROCESS (O), write_queue)
110)