Function ecs_value_fini_w_type_info

Synopsis

#include <include/flecs.h>

int ecs_value_fini_w_type_info(const ecs_world_t *world, const ecs_type_info_t *ti, void *ptr)

Description

Destruct a value

Parameters

world - The world.

ti - Type info of the value to destruct.

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

Returns
Zero if success, nonzero if failed.

Source

Line 4991 in include/flecs.h.