Argh, we need to propagate if at least one infinity is added.
[libfirm] / vector.h
index d6b292d..b9cce52 100644 (file)
--- 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);