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

Delta Between Two Patch Sets: Objects/bytesobject.c

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 9 months ago
Right Patch Set: Created 3 years, 9 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 | « Modules/Setup.ios-x86_64 ('k') | Python/importlib_external.h » ('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 /* bytes object implementation */ 1 /* bytes object implementation */
2 2
3 #define PY_SSIZE_T_CLEAN 3 #define PY_SSIZE_T_CLEAN
4 4
5 #include "Python.h" 5 #include "Python.h"
6 6
7 #include "bytes_methods.h" 7 #include "bytes_methods.h"
8 #include "pystrhex.h" 8 #include "pystrhex.h"
9 #include <stddef.h> 9 #include <stddef.h>
10 10
(...skipping 4164 matching lines...) Expand 10 before | Expand all | Expand 10 after
4175 4175
4176 str = _PyBytesWriter_Prepare(writer, str, size); 4176 str = _PyBytesWriter_Prepare(writer, str, size);
4177 if (str == NULL) 4177 if (str == NULL)
4178 return NULL; 4178 return NULL;
4179 4179
4180 Py_MEMCPY(str, bytes, size); 4180 Py_MEMCPY(str, bytes, size);
4181 str += size; 4181 str += size;
4182 4182
4183 return str; 4183 return str;
4184 } 4184 }
LEFTRIGHT

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