Skip to content
Flecs v4.2
EcsDocSourceLocation Struct Reference

Component that stores the location in the source code where an entity (such as a system, observer, query or component) is defined. More...

#include <doc.h>

Public Attributes

char * file
 Source file.
int32_t line
 Line in source file (0 if unknown).

Detailed Description

Component that stores the location in the source code where an entity (such as a system, observer, query or component) is defined.

Added to an entity by ecs_doc_set_source_location().

Definition at line 76 of file doc.h.

Member Data Documentation

◆ file

char* EcsDocSourceLocation::file

Source file.

Definition at line 77 of file doc.h.

◆ line

int32_t EcsDocSourceLocation::line

Line in source file (0 if unknown).

Definition at line 78 of file doc.h.


The documentation for this struct was generated from the following file:
  • include/flecs/addons/doc.h