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

Delta Between Two Patch Sets: Objects/abstract.c

Issue 27095: Simplify MAKE_FUNCTION
Left Patch Set: Created 3 years, 3 months ago
Right Patch Set: Created 3 years, 3 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
LEFTRIGHT
1 /* Abstract Object Interface (many thanks to Jim Fulton) */ 1 /* Abstract Object Interface (many thanks to Jim Fulton) */
2 2
3 #include "Python.h" 3 #include "Python.h"
4 #include <ctype.h> 4 #include <ctype.h>
5 #include "structmember.h" /* we need the offsetof() macro from there */ 5 #include "structmember.h" /* we need the offsetof() macro from there */
6 #include "longintrepr.h" 6 #include "longintrepr.h"
7 7
8 8
9 9
10 /* Shorthands to return certain errors */ 10 /* Shorthands to return certain errors */
(...skipping 2865 matching lines...) Expand 10 before | Expand all | Expand 10 after
2876 /* Free's a NULL terminated char** array of C strings. */ 2876 /* Free's a NULL terminated char** array of C strings. */
2877 void 2877 void
2878 _Py_FreeCharPArray(char *const array[]) 2878 _Py_FreeCharPArray(char *const array[])
2879 { 2879 {
2880 Py_ssize_t i; 2880 Py_ssize_t i;
2881 for (i = 0; array[i] != NULL; ++i) { 2881 for (i = 0; array[i] != NULL; ++i) {
2882 PyMem_Free(array[i]); 2882 PyMem_Free(array[i]);
2883 } 2883 }
2884 PyMem_Free((void*)array); 2884 PyMem_Free((void*)array);
2885 } 2885 }
LEFTRIGHT

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