X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvector.h;h=fc2bf9518d25bfb271095a2ba4935de4c9ccd1c3;hb=81579d9e9f994fb2908f50af41c3eb033d216e58;hp=83ee589b9ec06b2d8b8225870352c77f6ee6346b;hpb=f5c108becd49d78f4898cab11352291f5689d24e;p=pspp-builds.git diff --git a/src/data/vector.h b/src/data/vector.h index 83ee589b..fc2bf951 100644 --- a/src/data/vector.h +++ b/src/data/vector.h @@ -1,26 +1,24 @@ -/* PSPP - computes sample statistics. - Copyright (C) 2006 Free Software Foundation, Inc. +/* PSPP - a program for statistical analysis. + Copyright (C) 2006, 2011 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #ifndef DATA_VECTOR_H #define DATA_VECTOR_H 1 #include -#include +#include "data/variable.h" struct dictionary; @@ -32,7 +30,7 @@ struct vector *vector_clone (const struct vector *old, void vector_destroy (struct vector *); const char *vector_get_name (const struct vector *); -enum var_type vector_get_type (const struct vector *); +enum val_type vector_get_type (const struct vector *); struct variable *vector_get_var (const struct vector *, size_t idx); size_t vector_get_var_cnt (const struct vector *);