mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 05:10:23 +01:00
Move the memstream code into common code. Other Rust code interfacing with FILE pointers will find the memstream abstraction useful. Most notably, pinning is actually enforced this time with PhantomPinned. Add a .clang-format from a sibling dir (i.e.: compiler/nir) while we're at it to keep things tidy. Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30594>
8 lines
148 B
C
8 lines
148 B
C
/*
|
|
* Copyright © 2022 Collabora, Ltd.
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include "util/memstream.h"
|
|
#include "rust_helpers.h"
|
|
#include "nir.h"
|