sl@0: // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "ARM EABI LICENCE.txt" sl@0: // which accompanies this distribution, and is available sl@0: // in kernel/eka/compsupp. sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: */ sl@0: sl@0: #ifndef _CPPINIT_H_ sl@0: #define _CPPINIT_H_ sl@0: extern "C" { sl@0: sl@0: // Doing it like this means no space is taken by the symbols sl@0: #define NUKE_SYMBOL(sig) __asm void sig {} sl@0: typedef void (*PFV)(); sl@0: typedef void (DTOR)(void *); sl@0: #define RELOCATE(loc, type) (type)((int)loc + (int)*loc) sl@0: sl@0: typedef struct dtd sl@0: { sl@0: // dtd * prev; sl@0: void * obj; sl@0: DTOR * dtor; sl@0: } dtd; sl@0: sl@0: //extern void run_static_ctors (void); sl@0: extern void run_static_dtors (void); sl@0: sl@0: } sl@0: sl@0: #endif