ecs_set_binding_ctx

Function ecs_set_binding_ctx 

Source
pub unsafe extern "C" fn ecs_set_binding_ctx(
    world: *mut ecs_world_t,
    ctx: *mut c_void,
    ctx_free: ecs_ctx_free_t,
)
Expand description

Set a world binding context. Same as ecs_set_ctx but for binding context. A binding context is intended specifically for language bindings to store binding specific data.

@param world The world. @param ctx A pointer to a user defined structure. @param ctx_free A function that is invoked with ctx when the world is freed.