X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fadt%2Fpset.h;h=773d276ed54948d9e32b2fcf1dd75894bb7124fb;hb=e3f51845a3d0fc2162e36fba3eea5b17a913fe38;hp=4476c2aabca7881ea0dedbf0a560fc8f310945b1;hpb=582b49a2092febc251d9e7f6b6a53cfbc827b932;p=libfirm diff --git a/include/libfirm/adt/pset.h b/include/libfirm/adt/pset.h index 4476c2aab..773d276ed 100644 --- a/include/libfirm/adt/pset.h +++ b/include/libfirm/adt/pset.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -91,7 +91,7 @@ typedef int (*pset_cmp_fun) (const void *elt, const void *key); * @returns * created pset */ -FIRM_API pset *new_pset(pset_cmp_fun func, int slots); +FIRM_API pset *new_pset(pset_cmp_fun func, size_t slots); /** * Deletes a pset. @@ -108,7 +108,7 @@ FIRM_API void del_pset(pset *pset); * * @param pset the pset */ -FIRM_API int pset_count(pset *pset); +FIRM_API size_t pset_count(pset *pset); /** * Searches an element pointer in a pset.