mapi_abi: Get rid of unnecessary copy.
authorPaul Berry <stereotype441@gmail.com>
Wed, 10 Oct 2012 22:10:00 +0000 (15:10 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 16 Oct 2012 19:03:56 +0000 (12:03 -0700)
commit4f6fc905c68fc1f7deab27d0b931f58e0558630e
tree0f4007993587c2cc2c1a0ae51c74c3fbafe720c9
parent77ed171f27de5c4f50720263b419e26d6715e621
mapi_abi: Get rid of unnecessary copy.

Previously, _get_api_entries() would make a deep copy of each element
in the entries table before modifying the 'hidden' and 'handcode'
attributes.  This was unnecessary, since the entries aren't used again
after this function.  Removing the copy simplifies the code, because
it is no longer necessary to adjust the alias pointers to point to the
copied entries.

Tested-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mapi/mapi/mapi_abi.py