Function ecs_get_trigger_binding_ctx

Synopsis

#include <include/flecs.h>

FLECS_API void * ecs_get_trigger_binding_ctx(const ecs_world_t *world, ecs_entity_t trigger)

Description

Same as ecs_get_trigger_ctx, but for binding ctx. The binding context is a context typically used to attach any language binding specific data that is needed when invoking a callback that is implemented in another language.

Parameters

world - The world.

trigger - The trigger from which to obtain the context.

Returns
The context.

Source

Line 2823 in include/flecs.h.