summaryrefslogtreecommitdiff
path: root/bridges/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-11-12 00:00:35 +0200
committerTor Lillqvist <tml@collabora.com>2013-11-12 00:01:14 +0200
commitd52bfc915f6513256b64aa0ed088783150a041c3 (patch)
tree09bed8e1086da57cabaf535a3e9ec26825a0175f /bridges/source
parent89f00bdd566d8957facc80e9369b1441daee67d6 (diff)
Add some more comments
Change-Id: I267cb424deee4d329a0860cf9c87f295fb8fc5bf
Diffstat (limited to 'bridges/source')
-rw-r--r--bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx7
-rw-r--r--bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm.cxx9
-rw-r--r--bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-i386.cxx4
3 files changed, 19 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx
index 301efd164736..6abdad9a3f05 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx
@@ -19,7 +19,7 @@
#if defined(__arm) || defined(__arm64)
-// For iOS devices (ARM). Basically a copy of n
+// For iOS devices (ARM). Basically a copy of
// ../gcc3_linux_arm/cpp2uno.cxx with some cleanups and necessary
// changes: No dynamic code generation as that is prohibited for apps
// in the App Store. Instead we use a set of pre-generated snippets.
@@ -29,6 +29,11 @@
// sad. But then the whole bridges/source/cpp_uno is full of
// copy/paste. So I continue in that tradition...
+// Note that for iOS, neither __ARM_EABI__ or __ARM_PCS_VFP are
+// defined. The ifdefs for those have been left in place to keep this
+// file as close to ../gcc3_linux_arm/cpp2uno.cxx as possible, to make
+// future unification easier.
+
#include <com/sun/star/uno/RuntimeException.hpp>
#include <uno/data.h>
#include <typelib/typedescription.hxx>
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm.cxx
index c9d917a62daf..8467772c606d 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-arm.cxx
@@ -19,6 +19,15 @@
#if defined(__arm) || defined(__arm64)
+// For iOS devices (ARM). Basically a copy of
+// ../gcc3_linux_arm/cpp2uno.cxx with some cleanups and necessary
+// changes.
+
+// Note that for iOS, none of __ARM_EABI__, __ARM_ARCH_4T__ or
+// __ARM_PCS_VFP are defined. The ifdefs for those have been left in
+// place to keep this file as close to ../gcc3_linux_arm/uno2cpp.cxx
+// as possible, to make future unification easier.
+
#include <com/sun/star/uno/RuntimeException.hpp>
#include "bridges/cpp_uno/shared/bridge.hxx"
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-i386.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-i386.cxx
index 65f32e7e6a62..27cc9d893955 100644
--- a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-i386.cxx
+++ b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp-i386.cxx
@@ -19,6 +19,10 @@
#ifdef __i386
+// For the iOS emulator (i386). Basically a copy of
+// ../gcc3_macosx_intel/uno2cpp.cxx with some cleanups and necessary
+// changes.
+
#include <com/sun/star/uno/RuntimeException.hpp>
#include "bridges/cpp_uno/shared/bridge.hxx"