#include <include/flecs.h> FLECS_API ecs_term_t ecs_term_move(ecs_term_t *src)
Move resources of a term to another term. Same as copy, but moves resources from src, if src->move is set to true. If src->move is not set to true, this operation will do a copy.
The conditional move reduces redundant allocations in scenarios where a list of terms is partially created with allocated resources.
dst- The term to copy to.
src- The term to copy from.