Function get_mut_ptrs

Synopsis

#include <include/flecs/addons/cpp/invoker.hpp>

static bool get_mut_ptrs(world_t *world, ecs_entity_t e, ArrayType &ptrs)

Description

No description yet.

Source

Lines 479-488 in include/flecs/addons/cpp/invoker.hpp.

static bool get_mut_ptrs(world_t *world, ecs_entity_t e, ArrayType& ptrs) {
    /* Get pointers w/get_mut */
    size_t i = 0;
    DummyArray dummy ({
        (ptrs[i ++] = ecs_get_mut_id(world, e, 
            _::cpp_type<Args>().id(world)), 0)...
    });
    return true;
}