Flecs: ecs_script_eval_result_t Struct 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
ecs_script_eval_result_t Struct Reference
C API » Addons » Flecs script

Used to capture error output from script evaluation. More...

`#include <script.h>`

## Public Attributes
char * | error
| Error message, or NULL if no error.
int32_t | line
| Line number (1-based) of first error, or 0 if not available.
int32_t | column
| Column number (1-based) of first error, or 0 if not available.

## Detailed Description

Used to capture error output from script evaluation.

Definition at line 174 of file script.h.

## Member Data Documentation

## ◆ column

int32_t ecs_script_eval_result_t::column

Column number (1-based) of first error, or 0 if not available.

Definition at line 177 of file script.h.

## ◆ error

char* ecs_script_eval_result_t::error

Error message, or NULL if no error.

Must be freed by the application.

Definition at line 175 of file script.h.

## ◆ line

int32_t ecs_script_eval_result_t::line

Line number (1-based) of first error, or 0 if not available.

Definition at line 176 of file script.h.

The documentation for this struct was generated from the following file:

- include/flecs/addons/script.h