Mercurial > mplayer.hg
annotate osdep/shmem.h @ 35881:b5abdfe9bc61
Replace some uses of off_t by uint64_t.
This allows code that does not rely on lseek etc. to work
even on systems that do not support 64 bit off_t yet.
Signed-off-by: Reimar Dffinger <Reimar.Doeffinger@gmx.de>
author | reimar |
---|---|
date | Sat, 16 Mar 2013 10:09:12 +0000 |
parents | d5e1a1ad86b8 |
children |
rev | line source |
---|---|
28744 | 1 /* |
2 * This file is part of MPlayer. | |
3 * | |
4 * MPlayer is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * MPlayer is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License along | |
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 */ | |
18 | |
26029 | 19 #ifndef MPLAYER_SHMEM_H |
20 #define MPLAYER_SHMEM_H | |
1 | 21 |
34711 | 22 #include <stdint.h> |
34710
749da4b0c32a
Put #include <inttypes.h> into the header file where it should be.
ib
parents:
34704
diff
changeset
|
23 |
34704 | 24 void* shmem_alloc(int64_t size); |
25 void shmem_free(void* p,int64_t size); | |
1 | 26 |
26029 | 27 #endif /* MPLAYER_SHMEM_H */ |