Function ecs_value_copy

Synopsis

#include <include/flecs.h>

FLECS_API int ecs_value_copy(const ecs_world_t *world, ecs_entity_t type, void *dst, const void *src)

Description

Copy value.

Parameters

world - The world.

type - The type 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 5045 in include/flecs.h.