aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs9
1 files changed, 9 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 5b481a3..9f6866a 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1818,6 +1818,15 @@ Pkg_payload_format(pkg)
}
void
+Pkg_evr(pkg)
+ URPM::Package pkg
+ PREINIT:
+ const char *evr;
+ PPCODE:
+ evr = get_evr(pkg);
+ XPUSHs(sv_2mortal(newSVpv(evr, 0)));
+
+void
Pkg_fullname(pkg)
URPM::Package pkg
PREINIT: