/* * 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 #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); } }