Re: [dev] [sic] [patch] const-correctness and formalities

From: sin <sin_AT_2f30.org>
Date: Thu, 22 Aug 2013 12:15:23 +0300

> +eat(char *s, int (*p)(int), const int r) {

`const int r' also does not make much sense.
This is not idiomatic code.

> +skip(char *s, const char c) {

Similarly here for `c'. I'd expect this to be simply
an int to be honest.

Thanks,
sin
Received on Thu Aug 22 2013 - 11:15:23 CEST

This archive was generated by hypermail 2.3.0 : Thu Aug 22 2013 - 11:24:07 CEST