diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-11-12 01:48:38 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-11-12 01:48:38 +0200 |
commit | 332e5c0a08e94351360eb9bc621badb326564cd4 (patch) | |
tree | 6e5d679267106187e3a02e088f56e1b32e972131 /bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx | |
parent | 8585861fc3be1574d7a641ef2a8c0feed2fad446 (diff) |
Crack to just make this compile for iOS device
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx index 9793f282c679..92a4ca0e6290 100644 --- a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx @@ -186,8 +186,13 @@ static void cpp_call( if (pReturnTypeDescr) { +#ifdef __arm + if (arm::return_in_hidden_param( pReturnTypeRef ) ) + bSimpleReturn = false; +#else bSimpleReturn = CPPU_CURRENT_NAMESPACE::isSimpleReturnType( pReturnTypeDescr); +#endif if (bSimpleReturn) { pCppReturn = pUnoReturn; // direct way for simple types |