From: Matthias Braun Date: Mon, 16 Jul 2012 14:32:55 +0000 (+0200) Subject: rework hashset X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=f2ad275bb3619165357b369ac083ae2f73d5a543;p=libfirm rework hashset Only define functions for which the user provided a renaming #define (instead of forcing the users to create name for everything) Only define iterator struct if a rename #define is present (instead of forcing the user to define NO_ITERATOR if he doesn't want one) --- diff --git a/ir/adt/hashset.c b/ir/adt/hashset.c index 563c46e8b..e0cf70c77 100644 --- a/ir/adt/hashset.c +++ b/ir/adt/hashset.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2012 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -36,7 +36,7 @@ *
  • Hash(hashset,key) calculates the hash value for a given key
  • * * - * Note that by default it is assumed that the data values themselfes are used + * Note that by default it is assumed that the data values themselves are used * as keys. However you can change that with additional defines: * *