X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=vector.h;h=b9cce52eef1bcfe58ea6b8a22f0cea8113d6f9d8;hb=36ce90e5b4ad35ded2253c2e3b9b2283db90742f;hp=d6b292d73034a7ae08d91fc25a02a59243de2e2b;hpb=e39919bd1556599f0f89503ed6af4d7b7bffb86f;p=libfirm diff --git a/vector.h b/vector.h index d6b292d73..b9cce52ee 100644 --- a/vector.h +++ b/vector.h @@ -1,3 +1,29 @@ +/* + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ + +/** + * @file + * @brief PBQP vector. + * @date 02.10.2008 + * @author Sebastian Buchwald + * @version $Id$ + */ #ifndef KAPS_VECTOR_H #define KAPS_VECTOR_H @@ -16,7 +42,7 @@ void vector_add(vector *sum, vector *summand); void vector_set(vector *vec, unsigned index, num value); #if KAPS_ENABLE_VECTOR_NAMES -void vector_set_description(vector *vec, unsigned index, char *name); +void vector_set_description(vector *vec, unsigned index, const char *name); #endif void vector_add_value(vector *vec, num value);