Function ecs_get_context

Synopsis

#include <include/flecs.h>

FLECS_API void * ecs_get_context(const ecs_world_t *world)

Description

Get the world context. This operation retrieves a previously set world context.

Parameters

world - The world.

Returns
The context set with ecs_set_context. If no context was set, the function returns NULL.

Source

Line 1037 in include/flecs.h.