Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_type_conversions.hh
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| #pragma once | #pragma once | ||||
| #include "FN_multi_function.hh" | #include "FN_multi_function.hh" | ||||
| namespace blender::bke { | namespace blender::bke { | ||||
| using fn::CPPType; | |||||
| struct ConversionFunctions { | struct ConversionFunctions { | ||||
| const fn::MultiFunction *multi_function; | const fn::MultiFunction *multi_function; | ||||
| void (*convert_single_to_initialized)(const void *src, void *dst); | void (*convert_single_to_initialized)(const void *src, void *dst); | ||||
| void (*convert_single_to_uninitialized)(const void *src, void *dst); | void (*convert_single_to_uninitialized)(const void *src, void *dst); | ||||
| }; | }; | ||||
| class DataTypeConversions { | class DataTypeConversions { | ||||
| private: | private: | ||||
| ▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines | |||||