From aa1c0ba9f8787fc3b1a1190103e394b0c1c95922 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 20 Nov 2006 09:10:23 +0000 Subject: * 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 --- bindings/alpm.i | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bindings/alpm.i') 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" -- cgit v1.2.3-24-g4f1b