Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
opaque.hpp File Reference

Helpers for opaque type registration. More...

#include <stdio.h>
Include dependency graph for opaque.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  flecs::opaque< T, ElemType >
 Type safe interface for opaque types. More...
 

Typedefs

using flecs::serializer = ecs_serializer_t
 Serializer object, used for serializing opaque types.
 
using flecs::serialize_t = ecs_meta_serialize_t
 Serializer function, used to serialize opaque types.
 
template<typename T >
using flecs::serialize = int(*)(const serializer *, const T*)
 Type safe variant of serializer function.
 

Detailed Description

Helpers for opaque type registration.

Definition in file opaque.hpp.