mesa/src/mapi
Mathieu Bridon 5530cb1296 python: Better iterate over dictionaries
In Python 2, dictionaries have 2 sets of methods to iterate over their
keys and values: keys()/values()/items() and iterkeys()/itervalues()/iteritems().

The former return lists while the latter return iterators.

Python 3 dropped the method which return lists, and renamed the methods
returning iterators to keys()/values()/items().

Using those names makes the scripts compatible with both Python 2 and 3.

Signed-off-by: Mathieu Bridon <bochecha@daitauha.fr>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
2018-07-24 11:07:04 -07:00
..
es1api
es2api
glapi python: Better iterate over dictionaries 2018-07-24 11:07:04 -07:00
shared-glapi
.gitignore
Android.mk
entry.c
entry.h
entry_ppc64le_tls.h
entry_ppc64le_tsd.h
entry_x86-64_tls.h
entry_x86_tls.h
entry_x86_tsd.h
Makefile.am
Makefile.sources
mapi_abi.py python: Better check for keys in dicts 2018-07-24 11:07:04 -07:00
mapi_glapi.c
mapi_tmp.h
meson.build
stub.c
stub.h
table.c
table.h
u_current.c
u_current.h
u_execmem.c
u_execmem.h