X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fmerge.h;fp=src%2Fmath%2Fmerge.h;h=45c84937832d12f7f36e18986a115b17a0777018;hb=86189d786fc34c9da174b5018bec27640f7062e4;hp=5fdb6fc062d24d692b1d3b95552690d00e9fd793;hpb=7c96e98d5ee26ca08d9d31e84b08e79f1183663d;p=pspp diff --git a/src/math/merge.h b/src/math/merge.h index 5fdb6fc062..45c8493783 100644 --- a/src/math/merge.h +++ b/src/math/merge.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2010 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 @@ -21,7 +21,12 @@ struct caseproto; struct casereader; struct subcase; -struct merge *merge_create (const struct subcase *, const struct caseproto *); +typedef struct ccase *merge_distinct_combine_func (struct ccase *first, + struct ccase *second, + void *aux); + +struct merge *merge_create (const struct subcase *, const struct caseproto *, + merge_distinct_combine_func *, void *aux); void merge_destroy (struct merge *); void merge_append (struct merge *, struct casereader *); struct casereader *merge_make_reader (struct merge *);