This doesn't belong wit the base types.
Signed-off-by: NeilBrown <neil@brown.name>
*/
}
+ static void free_value(struct value v)
+ {
+ if (v.type)
+ v.type->free(v);
+ }
+
static struct value val_init(struct type *type)
{
struct value rv;
}
}
- static void free_value(struct value v)
- {
- if (v.type)
- v.type->free(v);
- }
-
static int vtype_compat(struct type *require, struct type *have, int rules)
{
if ((rules & Rboolok) && have == Tbool)