2022-02-11 09:07:11 +11:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later
|
2023-02-22 10:16:42 +01:00
|
|
|
* Copyright 2018 Blender Foundation */
|
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
|