LibreOffice Module bridges (master) 1
gcc3_ios/share.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#pragma once
20
21#include "uno/mapping.h"
22
23#include <typeinfo>
24#include <exception>
25#include <cstddef>
26
27// from opensource.apple.com: libcppabi-24.4/include/rtti.h
28#include "rtti.h"
29
30// from opensource.apple.com: libcppabi-24.4/include/unwind-cxx.h
31#include "unwind-cxx.h"
32
33// Import the __cxxabiv1 a.k.a. "abi" namespace
34using namespace abi;
35
37{
38 void dummy_can_throw_anything( char const * );
39
40 void raiseException(
41 uno_Any * pUnoExc, uno_Mapping * pUno2Cpp );
42
43 void fillUnoException(uno_Any *, uno_Mapping * pCpp2Uno);
44
45 bool isSimpleReturnType(typelib_TypeDescription * pTD, bool recursive = false);
46}
47
48namespace arm
49{
50 enum armlimits {
52 MAX_FPR_REGS = 8
53 };
54 bool return_in_x8( typelib_TypeDescriptionReference *pTypeRef );
55}
56
57/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
struct _uno_Mapping uno_Mapping
Definition: msvc/except.hxx:33
struct _typelib_TypeDescription typelib_TypeDescription
Definition: msvc/except.hxx:53
struct _uno_Any uno_Any
Definition: msvc/except.hxx:32
void dummy_can_throw_anything(char const *)
bool isSimpleReturnType(typelib_TypeDescription *pTD, bool recursive=false)
void fillUnoException(uno_Any *pUnoExc, uno_Mapping *pCpp2Uno)
void raiseException(uno_Any *pUnoExc, uno_Mapping *pUno2Cpp)
bool return_in_x8(typelib_TypeDescriptionReference *pTypeRef)
@ MAX_FPR_REGS
@ MAX_GPR_REGS