projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallivm: Add an alternative to LLVMDumpValue that works with Windows GUI apps.
[mesa.git]
/
src
/
gallium
/
auxiliary
/
cso_cache
/
cso_hash.h
diff --git
a/src/gallium/auxiliary/cso_cache/cso_hash.h
b/src/gallium/auxiliary/cso_cache/cso_hash.h
index 85f3e276c6ae37a28e458ba06f00b5a4b43058b9..5891c325fa567ee027540611e7561326bef58ca3 100644
(file)
--- a/
src/gallium/auxiliary/cso_cache/cso_hash.h
+++ b/
src/gallium/auxiliary/cso_cache/cso_hash.h
@@
-44,6
+44,7
@@
#ifndef CSO_HASH_H
#define CSO_HASH_H
#ifndef CSO_HASH_H
#define CSO_HASH_H
+#include "pipe/p_compiler.h"
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-95,6
+96,11
@@
struct cso_hash_iter cso_hash_first_node(struct cso_hash *hash);
*/
struct cso_hash_iter cso_hash_find(struct cso_hash *hash, unsigned key);
*/
struct cso_hash_iter cso_hash_find(struct cso_hash *hash, unsigned key);
+/**
+ * Returns true if a value with the given key exists in the hash
+ */
+boolean cso_hash_contains(struct cso_hash *hash, unsigned key);
+
int cso_hash_iter_is_null(struct cso_hash_iter iter);
unsigned cso_hash_iter_key(struct cso_hash_iter iter);
int cso_hash_iter_is_null(struct cso_hash_iter iter);
unsigned cso_hash_iter_key(struct cso_hash_iter iter);