summaryrefslogtreecommitdiff
path: root/Include/dictobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-08-16 09:00:42 +0000
committerGuido van Rossum <guido@python.org>1991-08-16 09:00:42 +0000
commite8e38aa7c0f60849c486fcb6f73aa352be6bc7c5 (patch)
tree8aa81e19aeffbc44e43995166e4cf4b4b163ee4e /Include/dictobject.h
parentdb73f1858395f2c94c688d7b2c58f69d0b21831d (diff)
downloadcpython-e8e38aa7c0f60849c486fcb6f73aa352be6bc7c5.tar.gz
Added/moved dict2 interfaces.
Diffstat (limited to 'Include/dictobject.h')
-rw-r--r--Include/dictobject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h
index 2b1974ba7e..a9d72cb956 100644
--- a/Include/dictobject.h
+++ b/Include/dictobject.h
@@ -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));