X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcasewindow.h;h=d467992463ada510da5f1a314e9fca6b81b12b1a;hb=df8b9e60f1533e84bf32d3391d3c82ff50ab7004;hp=b303c85dab5b53d99391a2698901a83065ea0a54;hpb=bd17d2af982332ee1791998361b1ac6731fe14fa;p=pspp diff --git a/src/data/casewindow.h b/src/data/casewindow.h index b303c85dab..d467992463 100644 --- a/src/data/casewindow.h +++ b/src/data/casewindow.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 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 @@ -28,7 +28,7 @@ #ifndef DATA_CASEWINDOW_H #define DATA_CASEWINDOW_H 1 -#include +#include "data/case.h" struct caseproto; @@ -37,11 +37,11 @@ struct casewindow *casewindow_create (const struct caseproto *, bool casewindow_destroy (struct casewindow *); void casewindow_push_head (struct casewindow *, struct ccase *); -void casewindow_pop_tail (struct casewindow *, casenumber cnt); +void casewindow_pop_tail (struct casewindow *, casenumber n); struct ccase *casewindow_get_case (const struct casewindow *, casenumber case_idx); const struct caseproto *casewindow_get_proto (const struct casewindow *); -casenumber casewindow_get_case_cnt (const struct casewindow *); +casenumber casewindow_get_n_cases (const struct casewindow *); bool casewindow_error (const struct casewindow *); void casewindow_force_error (struct casewindow *);