Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
abc1c428
Kaydet (Commit)
abc1c428
authored
Nis 10, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up function declarations
Change-Id: I1f4a18e7aa6288e147c7f4c3f17bb99f1f0df5c5
üst
691a54cc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
56 additions
and
6 deletions
+56
-6
call.cxx
bridges/source/cpp_uno/gcc3_macosx_x86-64/call.cxx
+5
-2
call.hxx
bridges/source/cpp_uno/gcc3_macosx_x86-64/call.hxx
+37
-0
cpp2uno.cxx
bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
+2
-2
except.cxx
bridges/source/cpp_uno/gcc3_macosx_x86-64/except.cxx
+12
-2
No files found.
bridges/source/cpp_uno/gcc3_macosx_x86-64/call.cxx
Dosyayı görüntüle @
abc1c428
...
...
@@ -18,8 +18,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
extern
"C"
void
privateSnippetExecutor
()
#include <sal/config.h>
#include <call.hxx>
void
privateSnippetExecutor
()
{
asm
volatile
(
...
...
bridges/source/cpp_uno/gcc3_macosx_x86-64/call.hxx
0 → 100644
Dosyayı görüntüle @
abc1c428
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_BRIDGES_SOURCE_CPP_UNO_GCC3_MACOSX_X86_64_CALL_HXX
#define INCLUDED_BRIDGES_SOURCE_CPP_UNO_GCC3_MACOSX_X86_64_CALL_HXX
#include <sal/config.h>
#include <sal/types.h>
#include <typelib/typeclass.h>
extern
"C"
typelib_TypeClass
cpp_vtable_call
(
sal_Int32
nFunctionIndex
,
sal_Int32
nVtableOffset
,
void
**
gpreg
,
void
**
fpreg
,
void
**
ovrflw
,
sal_uInt64
*
pRegisterReturn
/* space for register return */
);
extern
"C"
void
privateSnippetExecutor
();
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
Dosyayı görüntüle @
abc1c428
...
...
@@ -36,6 +36,7 @@
#include "bridges/cpp_uno/shared/vtablefactory.hxx"
#include "abi.hxx"
#include "call.hxx"
#include "share.hxx"
using
namespace
::
osl
;
...
...
@@ -250,8 +251,7 @@ static typelib_TypeClass cpp2uno_call(
}
}
extern
"C"
typelib_TypeClass
cpp_vtable_call
(
typelib_TypeClass
cpp_vtable_call
(
sal_Int32
nFunctionIndex
,
sal_Int32
nVtableOffset
,
void
**
gpreg
,
void
**
fpreg
,
void
**
ovrflw
,
sal_uInt64
*
pRegisterReturn
/* space for register return */
)
...
...
bridges/source/cpp_uno/gcc3_macosx_x86-64/except.cxx
Dosyayı görüntüle @
abc1c428
...
...
@@ -55,11 +55,13 @@ namespace CPPU_CURRENT_NAMESPACE {
namespace
{
struct
Fake_type_info
{
virtual
~
Fake_type_info
()
{}
virtual
~
Fake_type_info
()
SAL_DELETED_FUNCTION
;
char
const
*
name
;
};
struct
Fake_class_type_info
:
Fake_type_info
{};
struct
Fake_class_type_info
:
Fake_type_info
{
virtual
~
Fake_class_type_info
()
SAL_DELETED_FUNCTION
;
};
#if MACOSX_SDK_VERSION < 1070
BOOST_STATIC_ASSERT
(
...
...
@@ -67,6 +69,7 @@ BOOST_STATIC_ASSERT(
#endif
struct
Fake_si_class_type_info
:
Fake_class_type_info
{
virtual
~
Fake_si_class_type_info
()
SAL_DELETED_FUNCTION
;
void
const
*
base
;
};
...
...
@@ -117,9 +120,16 @@ std::type_info * createFake_si_class_type_info(
}
#if HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE && HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
void
dummy_can_throw_anything
(
char
const
*
)
{
}
#if HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE && HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY
#pragma GCC diagnostic pop
#endif
static
OUString
toUNOname
(
char
const
*
p
)
SAL_THROW
(())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment