Mercurial > cpython-lru_cache-weakref
comparison Modules/arraymodule.c @ 2150:448435bfeadc legacy-trunk
Made some more things static, and other cleanup for new naming scheme
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 17 Jan 1995 16:13:48 +0000 |
| parents | 172ba04a5191 |
| children | 272229348fe2 |
comparison
equal
deleted
inserted
replaced
| 2149:6060d7fb07e3 | 2150:448435bfeadc |
|---|---|
| 54 staticforward typeobject Arraytype; | 54 staticforward typeobject Arraytype; |
| 55 | 55 |
| 56 #define is_arrayobject(op) ((op)->ob_type == &Arraytype) | 56 #define is_arrayobject(op) ((op)->ob_type == &Arraytype) |
| 57 | 57 |
| 58 /* Forward */ | 58 /* Forward */ |
| 59 extern object *newarrayobject PROTO((int, struct arraydescr *)); | 59 static object *newarrayobject PROTO((int, struct arraydescr *)); |
| 60 extern int getarraysize PROTO((object *)); | 60 static int getarraysize PROTO((object *)); |
| 61 extern object *getarrayitem PROTO((object *, int)); | 61 static object *getarrayitem PROTO((object *, int)); |
| 62 static int setarrayitem PROTO((object *, int, object *)); | 62 static int setarrayitem PROTO((object *, int, object *)); |
| 63 extern int insarrayitem PROTO((object *, int, object *)); | 63 static int insarrayitem PROTO((object *, int, object *)); |
| 64 extern int addarrayitem PROTO((object *, object *)); | 64 static int addarrayitem PROTO((object *, object *)); |
| 65 | 65 |
| 66 static object * | 66 static object * |
| 67 c_getitem(ap, i) | 67 c_getitem(ap, i) |
| 68 arrayobject *ap; | 68 arrayobject *ap; |
| 69 int i; | 69 int i; |
