summaryrefslogtreecommitdiffstats
path: root/bindings/alpm.i
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-11-20 10:10:23 +0100
committerAaron Griffin <aaron@archlinux.org>2006-11-20 10:10:23 +0100
commitaa1c0ba9f8787fc3b1a1190103e394b0c1c95922 (patch)
treeed0c9675f7fc5da043a69b36e0b8c6c8e05cb583 /bindings/alpm.i
parentb8b9596b13de957566211b0e1db3e473ed66e147 (diff)
downloadpacman-aa1c0ba9f8787fc3b1a1190103e394b0c1c95922.tar.gz
pacman-aa1c0ba9f8787fc3b1a1190103e394b0c1c95922.tar.xz
* repo-add script - to add entries to a db file directly from package data (no PKGBUILD)
* libalpm api changes - move from a _getinfo(p, WHAT_WE_WANT) scheme to a typesafe _get_what_we_want(p) scheme [not 100% complete yet] * some const correctness changes * removal of PM_* types in alpm.h in favor of the pm*_t types used throughout libalpm
Diffstat (limited to 'bindings/alpm.i')
-rw-r--r--bindings/alpm.i12
1 files changed, 6 insertions, 6 deletions
diff --git a/bindings/alpm.i b/bindings/alpm.i
index 49541b91..661f1694 100644
--- a/bindings/alpm.i
+++ b/bindings/alpm.i
@@ -13,11 +13,11 @@
%pointer_cast(void *, long *, void_to_long);
%pointer_cast(void *, char *, void_to_char);
%pointer_cast(void *, unsigned long, void_to_unsigned_long);
-%pointer_cast(void *, PM_LIST *, void_to_PM_LIST);
-%pointer_cast(void *, PM_PKG *, void_to_PM_PKG);
-%pointer_cast(void *, PM_GRP *, void_to_PM_GRP);
-%pointer_cast(void *, PM_SYNCPKG *, void_to_PM_SYNCPKG);
-%pointer_cast(void *, PM_DB *, void_to_PM_DB);
-%pointer_cast(void *, PM_CONFLICT *, void_to_PM_CONFLICT);
+%pointer_cast(void *, pmlist_t *, void_to_pmlist);
+%pointer_cast(void *, pmpkg_t *, void_to_pmpkg);
+%pointer_cast(void *, pmgrp_t *, void_to_pmgrp);
+%pointer_cast(void *, pmsyncpkg_t *, void_to_pmsyncpkg);
+%pointer_cast(void *, pmdb_t *, void_to_pmdb);
+%pointer_cast(void *, pmconflict_t *, void_to_pmconflict);
%include "alpm.h"