[Mesa-dev] [PATCH 05/10] util/set: add a clone function

Caio Marcelo de Oliveira Filho caio.oliveira at intel.com
Mon Jul 9 17:54:49 UTC 2018


On Thu, Jul 05, 2018 at 01:55:51PM -0700, Eric Anholt wrote:
> Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com> writes:
> 
> > ---
> 
> Could you add a little unit test with it?  Maybe make a table with a
> couple entries and a deleted entry, and verify that the clone has both
> entries and not the deleted one?

Done.


> I tend to try to create the API in both hash and set at the same time.
> If I get around to putting your changes up in the source project, I will.

Got it. In this case _mesa_hash_table_clone already exists.


Thanks,
Caio


More information about the mesa-dev mailing list