diff options
author | Brian Paul <[email protected]> | 2014-10-30 19:08:59 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-10-31 15:29:59 -0600 |
commit | e6ee85ec619ded82de89364b73251b6092dd23e1 (patch) | |
tree | edc38606d04bf450dbf0bb05d91fff5bb0422b51 /src/gallium/auxiliary/tgsi/tgsi_parse.h | |
parent | c996b22329c377ac72b5378ee2745ea414a1aefa (diff) |
tgsi: add a tgsi_free_tokens() function
To match tgsi_alloc_tokens().
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_parse.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_parse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_parse.h b/src/gallium/auxiliary/tgsi/tgsi_parse.h index 2e450a4e3b0..bfcca484576 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_parse.h +++ b/src/gallium/auxiliary/tgsi/tgsi_parse.h @@ -150,6 +150,9 @@ tgsi_dup_tokens(const struct tgsi_token *tokens); struct tgsi_token * tgsi_alloc_tokens(unsigned num_tokens); +void +tgsi_free_tokens(const struct tgsi_token *tokens); + #if defined __cplusplus } |