-static const test_chunk tests[] = {
- { "versioncmp", t_vcmp, { &type_string, &type_string, &type_int } },
- { 0 }
+static const struct tvec_regdef versioncmp_regs[] = {
+ { "v0", &tvty_text, RV0, 0 },
+ { "v1", &tvty_text, RV1, 0 },
+ { "rc", &tvty_ienum, RRC, 0, { &tvenum_cmp } },
+ TVEC_ENDREGS