Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(77136)

Delta Between Two Patch Sets: Lib/ctypes/test/test_prototypes.py

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 8 months ago
Right Patch Set: Created 3 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/ctypes/test/test_pointers.py ('k') | Lib/ctypes/test/test_refcounts.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 import os 1 import os
2 from ctypes import * 2 from ctypes import *
3 from ctypes.test import need_symbol 3 from ctypes.test import need_symbol
4 import unittest 4 import unittest
5 5
6 # IMPORTANT INFO: 6 # IMPORTANT INFO:
7 # 7 #
8 # Consider this call: 8 # Consider this call:
9 # func.restype = c_char_p 9 # func.restype = c_char_p
10 # func(c_char_p("123")) 10 # func(c_char_p("123"))
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 # This did crash before: 215 # This did crash before:
216 216
217 def func(): pass 217 def func(): pass
218 CFUNCTYPE(None, c_int * 3)(func) 218 CFUNCTYPE(None, c_int * 3)(func)
219 219
220 ################################################################ 220 ################################################################
221 221
222 if __name__ == '__main__': 222 if __name__ == '__main__':
223 unittest.main() 223 unittest.main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+