]> git.vpit.fr Git - perl/modules/Sub-Nary.git/blobdiff - Nary.xs
Remove the now unused list function
[perl/modules/Sub-Nary.git] / Nary.xs
diff --git a/Nary.xs b/Nary.xs
index c3f1bc59e1ec590ba587842e815de37a6950bd28..084b9ebe51c0593e0c940aff2916d5cfe9e667b6 100644 (file)
--- a/Nary.xs
+++ b/Nary.xs
@@ -62,23 +62,6 @@ CODE:
  res = hv_iterinit(hv) == 1 && hv_exists(hv, "0", 1);
  XSRETURN_IV(res);
 
-void
-list(SV *sv)
-PROTOTYPE: $
-PREINIT:
- HV *hv;
- IV res;
-CODE:
- if (!SvOK(sv))
-  XSRETURN_IV(0);
- if (!SvROK(sv)) {
-  res = strEQ(SvPV_nolen(sv), "list");
-  XSRETURN_IV(res);
- }
- hv = (HV *) SvRV(sv);
- res = hv_iterinit(hv) == 1 && hv_exists(hv, "list", 4);
- XSRETURN_IV(res);
-
 void
 count(SV *sv)
 PROTOTYPE: $