Function ecs_value_new

Synopsis

#include <include/flecs.h>

FLECS_API void * ecs_value_new(ecs_world_t *world, ecs_entity_t type)

Description

Construct a value in new storage

Parameters

world - The world.

type - The type of the value to create.

Returns
Pointer to type if success, NULL if failed.

Source

Line 4980 in include/flecs.h.