equal
deleted
inserted
replaced
|
1 /**************************************************************************** |
|
2 ** |
|
3 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
4 * |
|
5 * This file is part of Qt Web Runtime. |
|
6 * |
|
7 * This library is free software; you can redistribute it and/or |
|
8 * modify it under the terms of the GNU Lesser General Public License |
|
9 * version 2.1 as published by the Free Software Foundation. |
|
10 * |
|
11 * This library is distributed in the hope that it will be useful, |
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
14 * Lesser General Public License for more details. |
|
15 * |
|
16 * You should have received a copy of the GNU Lesser General Public |
|
17 * License along with this library; if not, write to the Free Software |
|
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
19 * |
|
20 */ |
|
21 #include <e32std.h> |
|
22 |
|
23 extern TInt _symbian_SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo& aInfo); |
|
24 |
|
25 /* |
|
26 * \internal |
|
27 * |
|
28 * Uses link-time symbol preemption to capture a call from the application |
|
29 * startup. On return, there is some kind of heap allocator installed on the |
|
30 * thread. |
|
31 */ |
|
32 TInt UserHeap::SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo& aInfo) |
|
33 { |
|
34 return _symbian_SetupThreadHeap(aNotFirst, aInfo); |
|
35 } |