blob: 92a06b883fd46d3bb15d38c2a3ddab4ecd0a82ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* symbian_dll.cpp
*
* Copyright (c) Nokia 2004-2005. All rights reserved.
* This code is licensed under the same terms as Perl itself.
*
*/
#define SYMBIAN_DLL_CPP
#include <e32base.h>
#include "PerlBase.h"
EXPORT_C GLDEF_C TInt E32Dll(TDllReason /*aReason*/) { return KErrNone; }
extern "C" {
EXPORT_C void* symbian_get_vars(void) { return Dll::Tls(); }
EXPORT_C void symbian_set_vars(const void *p) { Dll::SetTls((TAny*)p); }
EXPORT_C void symbian_unset_vars(void) { Dll::SetTls(0); }
}
|