mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
mesa: move/update hash function comments
This commit is contained in:
parent
8fe3b3f66a
commit
535742d75f
1 changed files with 11 additions and 6 deletions
|
|
@ -120,12 +120,8 @@ _mesa_DeleteHashTable(struct _mesa_HashTable *table)
|
|||
|
||||
|
||||
/**
|
||||
* Lookup an entry in the hash table.
|
||||
*
|
||||
* \param table the hash table.
|
||||
* \param key the key.
|
||||
*
|
||||
* \return pointer to user's data or NULL if key not in table
|
||||
* Lookup an entry in the hash table, without locking.
|
||||
* \sa _mesa_HashLookup
|
||||
*/
|
||||
static INLINE void *
|
||||
_mesa_HashLookup_unlocked(struct _mesa_HashTable *table, GLuint key)
|
||||
|
|
@ -147,6 +143,15 @@ _mesa_HashLookup_unlocked(struct _mesa_HashTable *table, GLuint key)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Lookup an entry in the hash table.
|
||||
*
|
||||
* \param table the hash table.
|
||||
* \param key the key.
|
||||
*
|
||||
* \return pointer to user's data or NULL if key not in table
|
||||
*/
|
||||
void *
|
||||
_mesa_HashLookup(struct _mesa_HashTable *table, GLuint key)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue