summaryrefslogtreecommitdiffstats
path: root/Include/dictobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-08-16 09:00:42 (GMT)
committerGuido van Rossum <guido@python.org>1991-08-16 09:00:42 (GMT)
commit4b3c1da6607639c254ced318497eb1dbb585b85a (patch)
tree8aa81e19aeffbc44e43995166e4cf4b4b163ee4e /Include/dictobject.h
parentb316515289fbfb5e69ce1e5b22f0bdd50eceb5a9 (diff)
downloadcpython-4b3c1da6607639c254ced318497eb1dbb585b85a.zip
cpython-4b3c1da6607639c254ced318497eb1dbb585b85a.tar.gz
cpython-4b3c1da6607639c254ced318497eb1dbb585b85a.tar.bz2
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 2b1974b..a9d72cb 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));