Blender V4.3
BLI_tempfile.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "BLI_compiler_attrs.h"
12#include "BLI_sys_types.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
23 const size_t tempdir_maxncpy,
24 const char *dirpath) ATTR_NONNULL(1, 3);
25
35void BLI_temp_directory_path_get(char *tempdir, const size_t tempdir_maxncpy) ATTR_NONNULL(1);
36
37#ifdef __cplusplus
38}
39#endif
#define ATTR_NONNULL(...)
bool void BLI_temp_directory_path_get(char *tempdir, const size_t tempdir_maxncpy) ATTR_NONNULL(1)
Definition tempfile.cc:53
bool BLI_temp_directory_path_copy_if_valid(char *tempdir, const size_t tempdir_maxncpy, const char *dirpath) ATTR_NONNULL(1