Function ecs_value_fini

Synopsis

#include <include/flecs.h>

FLECS_API int ecs_value_fini(const ecs_world_t *world, ecs_entity_t type, void *ptr)

Description

Destruct a value

Parameters

world - The world.

type - The type of the value to destruct.

ptr - Pointer to constructed value of type 'type'.

Returns
Zero if success, nonzero if failed.

Source

Line 5004 in include/flecs.h.