4 ms·
lval* v = malloc(sizeof(lval)); v->type = LVAL_QEXPR; For goodness sake, when teaching C, make sure to check alloc's return values.
by halayli 13y ago
lval* v = malloc(sizeof(lval));
v->type = LVAL_QEXPR;
For goodness sake, when teaching C, make sure to check alloc's return values.