X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fhost.h;h=42dac6127f0f3024779f9f158290ee6d73bf34d5;hb=bdef3c48e38136efb131f4cb9966de7b6d07b24d;hp=3272c59e8740a583a3f6124fb3f1abd7fe87f214;hpb=e3e22fa6f927847099c0bff62457003aa81f2518;p=libfirm diff --git a/ir/adt/host.h b/ir/adt/host.h index 3272c59e8..42dac6127 100644 --- a/ir/adt/host.h +++ b/ir/adt/host.h @@ -1,20 +1,29 @@ -/* Declarations describing the host machine and C compiler. - Copyright (C) 1995, 1996 Markus Armbruster - All rights reserved.*/ - -/* $Id$ */ +/* + * Project: libFIRM + * File name: ir/adt/host.h + * Purpose: Declarations describing the host machine and C compiler. + * Author: Markus Armbruster + * Modified by: + * Created: 1999 by getting from fiasco + * CVS-ID: $Id$ + * Copyright: (c) 1995, 1996 Markus Armbruster + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ #ifndef _HOST_H #define _HOST_H #include +/** + * @file host.h + */ -/* A size handled efficiently by malloc(), at least 1K. */ +/** A size handled efficiently by malloc(), at least 1K. */ #define PREF_MALLOC_SIZE 2048 -/* GNU C's __attribute__ */ +/** A wrapper around GNU C's __attribute__ */ /* According to the documentation, the attributes we are interested in work with 2.5, but we encountered trouble before 2.7. */ @@ -28,21 +37,21 @@ /* Alignment */ -/* A type that has most constrained alignment. */ +/** A type that has most constrained alignment. */ typedef union { long double d; void *p; long l; } aligned_type ATTRIBUTE ((aligned)); -/* Inquiring about the alignment. */ +/** Inquiring about the alignment of a type. */ #ifdef __GNUC__ # define ALIGNOF(type) __alignof__ (type) #else # define ALIGNOF(type) offsetof (struct { char c; type d; }, d) #endif -/* Maximal alignment required for any type. */ +/** Maximal alignment required for any type. */ #define MAX_ALIGN ALIGNOF (aligned_type) #endif