2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2018 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2020-02-10 15:55:43 +01:00
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
|
* \ingroup bke
|
|
|
|
|
*/
|
|
|
|
|
|
2020-02-10 16:54:24 +01:00
|
|
|
#pragma once
|
2020-02-10 15:55:43 +01:00
|
|
|
|
2023-05-11 12:23:50 +02:00
|
|
|
#include "BKE_lib_remap.h"
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2020-02-10 15:55:43 +01:00
|
|
|
extern BKE_library_free_notifier_reference_cb free_notifier_reference_cb;
|
|
|
|
|
|
|
|
|
|
extern BKE_library_remap_editor_id_reference_cb remap_editor_id_reference_cb;
|
2023-05-11 12:23:50 +02:00
|
|
|
|
|
|
|
|
struct ID;
|
|
|
|
|
struct Main;
|
|
|
|
|
|
|
|
|
|
void lib_id_copy_ensure_local(struct Main *bmain,
|
|
|
|
|
const struct ID *old_id,
|
|
|
|
|
struct ID *new_id,
|
|
|
|
|
const int flags);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|