The following confuses me:

/* Executes the given CHAIN of transformations on C,
   passing *CASE_NR as the case number.
   If a transformation modifies *CASE_NR, it will affect the case
   number passed to following transformations.
   ... */
enum trns_result
trns_chain_execute (struct trns_chain *chain, enum trns_result start,
                    struct ccase *c, const size_t *case_nr)

How can *case_nr be modified if it's const ?  
Wouldn't it make more sense for this function to have the sig:

enum trns_result
trns_chain_execute (struct trns_chain *chain, enum trns_result start,
                    struct ccase *c, casenumber case_nr);

??

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to