Flecs: include/flecs/addons/meta_c.h File Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
meta_c.h File Reference

Utility macros for populating reflection data in C. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | ECS_META_COMPONENT(world, name)
| Declare component with descriptor.
#define | ECS_STRUCT(name, ...)
| ECS_STRUCT(name, body).
#define | ECS_ENUM(name, ...)
| ECS_ENUM(name, body).
#define | ECS_BITMASK(name, ...)
| ECS_BITMASK(name, body).
#define | ECS_PRIVATE
| Macro used to mark part of type for which no reflection data is created.

## Functions
FLECS_API int | ecs_meta_from_desc (ecs_world_t *world, ecs_entity_t component, ecs_type_kind_t kind, const char *desc)
| Populate meta information from type descriptor.

## Detailed Description

Utility macros for populating reflection data in C.

Definition in file meta_c.h.