view osdep/shmem.h @ 27272:6d5c1d9bf273

And a 1000l for r27263, swapped a condition, thus setting size to 0 when malloc succeeded instead of when it failed.
author reimar
date Wed, 16 Jul 2008 17:48:34 +0000
parents 4129c8cfa742
children 5cfef41a1771
line wrap: on
line source

#ifndef MPLAYER_SHMEM_H
#define MPLAYER_SHMEM_H

void* shmem_alloc(int size);
void shmem_free(void* p,int size);

#endif /* MPLAYER_SHMEM_H */