Quoting John Darrington <[EMAIL PROTECTED]>: > It sounds like your idea is essentially the same as mine. In your > approach the predicate function takes more variables, whereas mine > relies on static data. Avoiding static data is of course a good > thing. The price however would be complicating the user interface of > the casereader_get_reader function, since all the variables etc would > have to be passed into it. A compromise would be to have a single > void *aux parameter, but that too is not without its disadvantages.
I'm not sure I understand why it's a good idea to integrate this into the casereader. If you don't, then you just do a loop around the function that gets a case, which isn't really a big deal (is it?) and you don't have to worry about static data at all. _______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
