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