X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fadt%2Fset.h;h=828dadd5c7743e223e0ab1dfdfa5d1a812343dc3;hb=072e8c0faa8a546eb9a10a9939594c898868c776;hp=b10dbfb4d8712c665799793b210ba020a3b360e8;hpb=582b49a2092febc251d9e7f6b6a53cfbc827b932;p=libfirm diff --git a/include/libfirm/adt/set.h b/include/libfirm/adt/set.h index b10dbfb4d..828dadd5c 100644 --- a/include/libfirm/adt/set.h +++ b/include/libfirm/adt/set.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. * @@ -75,7 +75,7 @@ typedef int (*set_cmp_fun) (const void *elt, const void *key, size_t size); * @returns * created set */ -FIRM_API set *new_set(set_cmp_fun func, int slots); +FIRM_API set *new_set(set_cmp_fun func, size_t slots); /** * Deletes a set and all elements of it. @@ -89,7 +89,7 @@ FIRM_API void del_set(set *set); * * @param set the set */ -FIRM_API int set_count(set *set); +FIRM_API size_t set_count(set *set); /** * Searches an element in a set. @@ -225,7 +225,7 @@ void set_stats (set *set); * * @param set the set */ -FIRM_API void set_describe (set *set); +FIRM_API void set_describe(set *set); #endif