glib/glibbackend/inc/lowmem.h
changeset 31 ce057bb09d0b
child 45 4b03adbd26ca
equal deleted inserted replaced
30:e20de85af2ee 31:ce057bb09d0b
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19  
       
    20 #ifndef __LOW_MEM_H__
       
    21 #define __LOW_MEM_H__
       
    22 
       
    23 #include <setjmp.h>
       
    24 #include <_ansi.h>
       
    25 #include <glowmem.h>
       
    26 
       
    27 #ifdef __cplusplus
       
    28 extern "C"
       
    29 {
       
    30 #endif    /* __cplusplus */
       
    31 
       
    32 IMPORT_C mem_info * get_thread_specific_data();
       
    33 IMPORT_C int set_thread_specific_data(mem_info *m);
       
    34 IMPORT_C int push(cleanUpStack *cs,void *ptr);
       
    35 IMPORT_C void * pop(cleanUpStack *cs);
       
    36 IMPORT_C void clearCleanUpStack(cleanUpStack *cs);
       
    37 IMPORT_C void destroyCleanUpStack(cleanUpStack *cs);
       
    38 IMPORT_C void findAndDestroy(cleanUpStack *cs,void *ptr);
       
    39 #ifdef __cplusplus
       
    40 }
       
    41 #endif    /* __cplusplus */
       
    42 
       
    43 #endif /* __LOW_MEM_H__ */