Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
plecs.h
Go to the documentation of this file.
1
35#ifdef FLECS_PLECS
36
45#ifndef FLECS_PARSER
46#define FLECS_PARSER
47#endif
48
49#ifndef FLECS_PLECS_H
50#define FLECS_PLECS_H
51
52#ifdef __cplusplus
53extern "C" {
54#endif
55
64FLECS_API
66 ecs_world_t *world,
67 const char *name,
68 const char *str);
69
79FLECS_API
81 ecs_world_t *world,
82 const char *filename);
83
84#ifdef __cplusplus
85}
86#endif
87
88#endif
89
92#endif
FLECS_API int ecs_plecs_from_str(ecs_world_t *world, const char *name, const char *str)
Parse plecs string.
FLECS_API int ecs_plecs_from_file(ecs_world_t *world, const char *filename)
Parse plecs file.
struct ecs_world_t ecs_world_t
A world is the container for all ECS data and supporting features.
Definition: flecs.h:229