From 08d323988fb8b85e9864bc765176a6c425b4f7e5 Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Sun, 25 Mar 2018 03:55:18 +0300 Subject: Don't check AUR for replaceable packages --- src/wrapper/alpm.nim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wrapper/alpm.nim') diff --git a/src/wrapper/alpm.nim b/src/wrapper/alpm.nim index 00b5b86..daa364b 100644 --- a/src/wrapper/alpm.nim +++ b/src/wrapper/alpm.nim @@ -100,6 +100,9 @@ proc optional*(pkg: ptr AlpmPackage): ptr AlpmList[ptr AlpmDependency] proc provides*(pkg: ptr AlpmPackage): ptr AlpmList[ptr AlpmDependency] {.cdecl, importc: "alpm_pkg_get_provides".} +proc replaces*(pkg: ptr AlpmPackage): ptr AlpmList[ptr AlpmDependency] + {.cdecl, importc: "alpm_pkg_get_replaces".} + proc cfree*(data: pointer) {.cdecl, importc: "free", header: "".} -- cgit v1.2.3-70-g09d2