Skip to content
Flecs v4.1
ecs_script_var_t Struct Reference

Script variable. More...

#include <script.h>

Public Attributes

const char * name
 Variable name.
ecs_value_t value
 Variable value.
const ecs_type_info_t * type_info
 Type information.
int32_t sp
 Stack pointer.
bool is_const
 Whether the variable is constant.
bool owned
 Whether the scope owns the value storage.

Detailed Description

Script variable.

Definition at line 86 of file script.h.

Member Data Documentation

◆ is_const

bool ecs_script_var_t::is_const

Whether the variable is constant.

Definition at line 91 of file script.h.

◆ name

const char* ecs_script_var_t::name

Variable name.

Definition at line 87 of file script.h.

◆ owned

bool ecs_script_var_t::owned

Whether the scope owns the value storage.

Definition at line 92 of file script.h.

◆ sp

int32_t ecs_script_var_t::sp

Stack pointer.

Definition at line 90 of file script.h.

◆ type_info

const ecs_type_info_t* ecs_script_var_t::type_info

Type information.

Definition at line 89 of file script.h.

◆ value

ecs_value_t ecs_script_var_t::value

Variable value.

Definition at line 88 of file script.h.


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