Function ecs_value_move

Synopsis

#include <include/flecs.h>

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

Description

Move value.

Parameters

world - The world.

type - The type of the value to move.

dst - Pointer to the storage to move to.

src - Pointer to the value to move.

Returns
Zero if success, nonzero if failed.

Source

Line 5073 in include/flecs.h.