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 structure.

enum qvm_setvar_context context

The qvm_setvar_context enum.

enum qvm_setvar_type type

The qvm_setvar_type enum.

Library:

Provided by qvm; no external library is required.