summaryrefslogtreecommitdiff
path: root/ios/source
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-11-26 12:23:45 +0100
committerjan Iversen <jani@libreoffice.org>2017-11-26 19:19:51 +0100
commit781c532068e4b51a372b149ee2b8f48a1c10e79f (patch)
tree0fd862005609b73558d84d11bdb297ebe9cdb30c /ios/source
parent7e222aff21d82a818e3a0f72f7e4d7e2a83c7274 (diff)
iOS, make Kit symbols external
Xcode has a problem (a bug) with linkink .o files to a project, this is ignored on the linker line. We use visisbility=hidden as default, therefore the symbols to be exported need to have the attribute visibility=default Change-Id: I079189dbaf6c0f606028a1e582f320db97995285
Diffstat (limited to 'ios/source')
-rw-r--r--ios/source/LibreOfficeKit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ios/source/LibreOfficeKit.c b/ios/source/LibreOfficeKit.c
index 6240f802cf4d..cdd1c09a8ed5 100644
--- a/ios/source/LibreOfficeKit.c
+++ b/ios/source/LibreOfficeKit.c
@@ -35,6 +35,7 @@ static double twipsPerXtile, twipsPerYtile;
// Bridge functions to LibreOfficeKit
+__attribute__((visibility("default")))
int BridgeLOkit_Init(const char *path)
{
char bufUserPath[200];
@@ -52,6 +53,7 @@ int BridgeLOkit_Init(const char *path)
+__attribute__((visibility("default")))
int BridgeLOkit_Sizing(const int countXtiles, const int countYtiles,
const int pixelsXtile, const int pixelsYtile)
{
@@ -79,6 +81,7 @@ int BridgeLOkit_Sizing(const int countXtiles, const int countYtiles,
+__attribute__((visibility("default")))
int BridgeLOkit_open(const char *path)
{
document = kit->pClass->documentLoad(kit, path);
@@ -88,6 +91,7 @@ int BridgeLOkit_open(const char *path)
+__attribute__((visibility("default")))
int BridgeLOkit_ClientCommand(const char *input)
{
(void)input;
@@ -96,6 +100,7 @@ int BridgeLOkit_ClientCommand(const char *input)
+__attribute__((visibility("default")))
int BridgeLOkit_Hipernate()
{
//FIXME
@@ -106,6 +111,7 @@ int BridgeLOkit_Hipernate()
+__attribute__((visibility("default")))
int BridgeLOkit_LeaveHipernate()
{
//FIXME