]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added/moved dict2 interfaces.
authorGuido van Rossum <guido@python.org>
Fri, 16 Aug 1991 09:00:42 +0000 (09:00 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 16 Aug 1991 09:00:42 +0000 (09:00 +0000)
Include/dictobject.h

index 2b1974ba7ebd678f29940b17f8ec21c808a046ee..a9d72cb9560459aea27862b18c3308eb12358d15 100644 (file)
@@ -43,5 +43,7 @@ extern int getdictsize PROTO((object *dp));
 extern char *getdictkey PROTO((object *dp, int i));
 extern object *getdictkeys PROTO((object *dp));
 
-extern object *dict2key PROTO((object *dp, int i));
+extern object *getdict2key PROTO((object *dp, int i));
+extern object *dict2lookup PROTO((object *dp, object *key));
 extern int dict2insert PROTO((object *dp, object *key, object *item));
+extern int dict2remove PROTO((object *dp, object *key));