aboutsummaryrefslogtreecommitdiff
path: root/src/wrapper
diff options
context:
space:
mode:
authorkitsunyan2018-03-25 00:55:18 +0000
committerkitsunyan2018-03-25 00:55:18 +0000
commit08d323988fb8b85e9864bc765176a6c425b4f7e5 (patch)
tree575843db452c01f0cc749e8fc7e5adb3050bb373 /src/wrapper
parent4f21aa7d4d1923358df8244622f1a4b6209e0459 (diff)
Don't check AUR for replaceable packages
Diffstat (limited to 'src/wrapper')
-rw-r--r--src/wrapper/alpm.nim3
1 files changed, 3 insertions, 0 deletions
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: "<stdlib.h>".}