mmplugins/lib3gp/impl/inc/mp4memwrap.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef _MP4MEMWRAP_H
       
    17 #define _MP4MEMWRAP_H
       
    18 
       
    19 
       
    20 #include <3gplibrary/mp4config.h>
       
    21 
       
    22 
       
    23 
       
    24 #ifdef MP4_ARCH_WIN32 /* Windows compilation */
       
    25 
       
    26 #include <stdlib.h>
       
    27 #include <malloc.h>
       
    28 
       
    29 
       
    30 void *mp4malloc(size_t size);
       
    31 void *mp4realloc(void *memblock, size_t size, size_t oldsize);
       
    32 void mp4free(void *mem);
       
    33 void *mp4memcpy(void *dest, void *src, mp4_u32 count);
       
    34 
       
    35 
       
    36 #else /* Symbian OS compilation */
       
    37 
       
    38 #include <stddef.h>
       
    39 
       
    40 
       
    41 void *mp4malloc(size_t size);
       
    42 void *mp4realloc(void *memblock, size_t size, size_t oldsize);
       
    43 void mp4free(void *mem);
       
    44 void *mp4memcpy(void *dest, void *src, mp4_u32 count);
       
    45 
       
    46 
       
    47 #endif
       
    48 
       
    49 #endif
       
    50 // End of File