m_int* idx; // for object array
size_t length; // array init
} d;
- uint is_obj;
+ bool is_obj;
} ArrayInfo;
ANN Type check_array_access(const Env env, const Array_Sub array);
char *escape;
VM_Code (*emit_code)(const Emitter);
VM_Code code;
- uint memoize;
- uint unroll;
- uint line;
+ uint16_t memoize;
+ uint16_t unroll;
+ uint16_t line;
bool debug;
};
struct Vector_ conts;
struct Vector_ known_ctx;
struct Match_ *match;
- struct Vector_ effects; // a vector of Effect[]
- uint depth;
- bool in_try;
+ struct Vector_ effects;
+ uint16_t depth;
+ bool in_try;
};
typedef struct Env_ {
#ifdef GWION_DOC
Lint *lint;
#endif
- uint tmpls;
+ uint8_t tmpls;
};
#include "import/internals.h"
Type_Decl *td; // typedef
ID_List curr;// enum
};
- uint variadic;
+ bool variadic;
enum importck_type type;
ae_flag flag; // ????
} ImportCK;
struct ugen_net_ {
struct Vector_ from;
struct Vector_ to;
- uint size;
+ uint16_t size;
};
struct ugen_multi_ {
M_Object* channel;
- uint n_in;
- uint n_out;
- uint n_chan;
+ uint8_t n_in;
+ uint8_t n_out;
+ uint8_t n_chan;
};
struct ugen_gen {
UGen ref;
} module;
m_float in, out;
- uint op;
- uint multi;
- uint done;
+ uint8_t op;
+ bool multi;
+ bool done;
};
#define TICK(a) __attribute__((hot)) ANN inline void a(const UGen u)