Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(703)

Side by Side Diff: base/third_party/libevent/event_rpcgen.py

Issue 1531573008: move libevent into base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix shim path Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/third_party/libevent/event-internal.h ('k') | base/third_party/libevent/event_tagging.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2005 Niels Provos <provos@citi.umich.edu> 3 # Copyright (c) 2005 Niels Provos <provos@citi.umich.edu>
4 # All rights reserved. 4 # All rights reserved.
5 # 5 #
6 # Generates marshaling code based on libevent. 6 # Generates marshaling code based on libevent.
7 7
8 import sys 8 import sys
9 import re 9 import re
10 10
(...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after
1414 1414
1415 print >>sys.stderr, '... creating "%s"' % impl_file 1415 print >>sys.stderr, '... creating "%s"' % impl_file
1416 impl_fp = open(impl_file, 'w') 1416 impl_fp = open(impl_file, 'w')
1417 print >>impl_fp, BodyPreamble(filename) 1417 print >>impl_fp, BodyPreamble(filename)
1418 for entry in entities: 1418 for entry in entities:
1419 entry.PrintCode(impl_fp) 1419 entry.PrintCode(impl_fp)
1420 impl_fp.close() 1420 impl_fp.close()
1421 1421
1422 if __name__ == '__main__': 1422 if __name__ == '__main__':
1423 main(sys.argv) 1423 main(sys.argv)
OLDNEW
« no previous file with comments | « base/third_party/libevent/event-internal.h ('k') | base/third_party/libevent/event_tagging.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698