*: use references instead of pointers

This commit is contained in:
Max Kellermann
2013-10-19 18:48:38 +02:00
parent 59f8144c50
commit ff626ac763
122 changed files with 1077 additions and 1083 deletions

View File

@@ -27,22 +27,22 @@
class Client;
bool
check_uint32(Client *client, uint32_t *dst, const char *s);
check_uint32(Client &client, uint32_t *dst, const char *s);
bool
check_int(Client *client, int *value_r, const char *s);
check_int(Client &client, int *value_r, const char *s);
bool
check_range(Client *client, unsigned *value_r1, unsigned *value_r2,
check_range(Client &client, unsigned *value_r1, unsigned *value_r2,
const char *s);
bool
check_unsigned(Client *client, unsigned *value_r, const char *s);
check_unsigned(Client &client, unsigned *value_r, const char *s);
bool
check_bool(Client *client, bool *value_r, const char *s);
check_bool(Client &client, bool *value_r, const char *s);
bool
check_float(Client *client, float *value_r, const char *s);
check_float(Client &client, float *value_r, const char *s);
#endif