mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
util: fix stack dynarray used by multiple tus
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23106>
This commit is contained in:
parent
4af6b601e0
commit
12d5a2aa97
3 changed files with 10 additions and 1 deletions
|
|
@ -135,6 +135,7 @@ files_mesa_util = files(
|
||||||
'u_debug_refcnt.h',
|
'u_debug_refcnt.h',
|
||||||
'u_dl.c',
|
'u_dl.c',
|
||||||
'u_dl.h',
|
'u_dl.h',
|
||||||
|
'u_dynarray.c',
|
||||||
'u_dynarray.h',
|
'u_dynarray.h',
|
||||||
'u_endian.h',
|
'u_endian.h',
|
||||||
'u_hash_table.c',
|
'u_hash_table.c',
|
||||||
|
|
|
||||||
8
src/util/u_dynarray.c
Normal file
8
src/util/u_dynarray.c
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2023 Valve Corporation
|
||||||
|
* SPDX-License-Identifier: MIT
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "u_dynarray.h"
|
||||||
|
|
||||||
|
unsigned util_dynarray_is_data_stack_allocated;
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static unsigned util_dynarray_is_data_stack_allocated;
|
extern unsigned util_dynarray_is_data_stack_allocated;
|
||||||
|
|
||||||
/* A zero-initialized version of this is guaranteed to represent an
|
/* A zero-initialized version of this is guaranteed to represent an
|
||||||
* empty array.
|
* empty array.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue