diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-08-21 10:34:42 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-08-21 10:34:42 +0100 |
commit | 04c2a22175d7c27ee380f986eece2772eddd6fcc (patch) | |
tree | ac3f47954c9a65ac27b450f5fb7459d70d74caf2 /src/gallium/auxiliary/util/u_debug_describe.h | |
parent | 7a40d15e6c6b8ebc971be0e926c7027a85db96a0 (diff) |
util: Make the reference debuggin code more C++ friendly.
C++ doesn't accept function <-> void* conversions without a putting a
fight.
Diffstat (limited to 'src/gallium/auxiliary/util/u_debug_describe.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug_describe.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_debug_describe.h b/src/gallium/auxiliary/util/u_debug_describe.h index 8c32f02ee5..33587ec879 100644 --- a/src/gallium/auxiliary/util/u_debug_describe.h +++ b/src/gallium/auxiliary/util/u_debug_describe.h @@ -5,6 +5,11 @@ extern "C" { #endif +struct pipe_reference; +struct pipe_resource; +struct pipe_surface; +struct pipe_sampler_view; + /* a 256-byte buffer is necessary and sufficient */ void debug_describe_reference(char* buf, const struct pipe_reference*ptr); void debug_describe_resource(char* buf, const struct pipe_resource *ptr); |