diff options
Diffstat (limited to 'extra/symbian.cpp')
-rw-r--r-- | extra/symbian.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/extra/symbian.cpp b/extra/symbian.cpp index 94dd4de4..1716c887 100644 --- a/extra/symbian.cpp +++ b/extra/symbian.cpp @@ -6,12 +6,10 @@ #include <stdlib.h> #include <string.h> -#ifdef __cplusplus extern "C" { -#endif int GC_get_main_symbian_stack_base() - { +{ TThreadStackInfo aInfo; TInt err = RThread().StackInfo(aInfo); if ( !err ) @@ -22,10 +20,10 @@ int GC_get_main_symbian_stack_base() { return 0; } - } +} char* GC_get_private_path_and_zero_file() - { +{ // always on c: drive RFs fs; fs.Connect(); @@ -48,8 +46,6 @@ char* GC_get_private_path_and_zero_file() memcpy( copyChar, path8.PtrZ(), size ); return copyChar; // ownership passed - } +} -#ifdef __cplusplus - } -#endif +} /* extern "C" */ |