qvm_setvar_info

Set variable information

Synopsis:

#include <qvm/utils.h>
struct qvm_setvar_info {
    struct qvm_setvar_info* next;
    const char* name;
    void (*set)(void *ctx, union qvm_setvar_value val);
    enum qvm_setvar_context context;
    enum qvm_setvar_type type;
} ;

Data:

struct qvm_setvar_info* next

A pointer to the next qvm_setvar_info structure.

const char* name

A pointer to a human-readable name for the variable.

void (*set)(void *ctx, union qvm_setvar_value val)

A pointer to the qvm_setvar_value union.

enum qvm_setvar_context context

The set variable context; see qvm_setvar_context for details.

enum qvm_setvar_type type

The set variable type; see qvm_setvar_type for details.