Function ecs_value_copy_w_type_info

Synopsis

#include <include/flecs.h>

FLECS_API int ecs_value_copy_w_type_info(const ecs_world_t *world, const ecs_type_info_t *ti, void *dst, const void *src)

Description

Copy value.

Parameters

world - The world.

ti - Type info of the value to copy.

dst - Pointer to the storage to copy to.

src - Pointer to the value to copy.

Returns
Zero if success, nonzero if failed.

Source

Line 5030 in include/flecs.h.