annotate gui/util/misc.h @ 37160:bb15cab6c059

Add ZLIB_CONST to make the zlib API const-correct.
author reimar
date Sat, 23 Aug 2014 13:59:32 +0000
parents b6ff1451035d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
37024
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
1 /*
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
2 * This file is part of MPlayer.
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
3 *
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
7 * (at your option) any later version.
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
8 *
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
12 * GNU General Public License for more details.
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
13 *
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License along
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
17 */
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
18
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
19 #ifndef MPLAYER_GUI_MISC_H
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
20 #define MPLAYER_GUI_MISC_H
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
21
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
22 #include <stdio.h>
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
23
37026
b6ff1451035d Constrain an item's value to be in the range of 0 to 100.
ib
parents: 37024
diff changeset
24 float constrain(float value);
37024
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
25 char *fgetstr(char *str, int size, FILE *file);
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
26
0790f864cea2 Add a file for miscellaneous auxiliary functions.
ib
parents:
diff changeset
27 #endif /* MPLAYER_GUI_MISC_H */