Function ecs_make_pair

Synopsis

#include <include/flecs.h>

FLECS_API ecs_id_t ecs_make_pair(ecs_entity_t relation, ecs_entity_t object)

Description

Make a pair identifier. This function is equivalent to using the ecs_pair macro, and is added for convenience to make it easier for non C/C++ bindings to work with pairs.

Parameters

relation - The relation of the pair.

object - The object of the pair.

Source

Line 1519 in include/flecs.h.