LibreOffice Module cppu (master) 1
compat.cxx
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
10#include <sal/config.h>
11
12#include <cstdlib>
13
14#include <typelib/typedescription.h>
15#include <rtl/ustring.h>
16#include <sal/types.h>
17
18// Stubs for removed functionality, to be killed when we bump sal SONAME
19
20extern "C" {
21
22SAL_DLLPUBLIC_EXPORT void SAL_CALL typelib_static_array_type_init(
23 typelib_TypeDescriptionReference **, typelib_TypeDescriptionReference *,
24 sal_Int32, ...) SAL_THROW_EXTERN_C()
25{
26 std::abort();
27}
28
29SAL_DLLPUBLIC_EXPORT void SAL_CALL typelib_typedescription_newArray(
30 typelib_TypeDescription **, typelib_TypeDescriptionReference *,
31 sal_Int32, sal_Int32 *) SAL_THROW_EXTERN_C()
32{
33 std::abort();
34}
35
36SAL_DLLPUBLIC_EXPORT void SAL_CALL typelib_typedescription_newUnion(
37 typelib_TypeDescription **, rtl_uString *,
38 typelib_TypeDescriptionReference *, sal_Int64,
39 typelib_TypeDescriptionReference *, sal_Int32, void *)
41{
42 std::abort();
43}
44
45}
46
47/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SAL_DLLPUBLIC_EXPORT void SAL_CALL typelib_static_array_type_init(typelib_TypeDescriptionReference **, typelib_TypeDescriptionReference *, sal_Int32,...) SAL_THROW_EXTERN_C()
Definition: compat.cxx:22
SAL_DLLPUBLIC_EXPORT void SAL_CALL typelib_typedescription_newArray(typelib_TypeDescription **, typelib_TypeDescriptionReference *, sal_Int32, sal_Int32 *) SAL_THROW_EXTERN_C()
Definition: compat.cxx:29
SAL_DLLPUBLIC_EXPORT void SAL_CALL typelib_typedescription_newUnion(typelib_TypeDescription **, rtl_uString *, typelib_TypeDescriptionReference *, sal_Int64, typelib_TypeDescriptionReference *, sal_Int32, void *) SAL_THROW_EXTERN_C()
Definition: compat.cxx:36
struct _typelib_TypeDescription typelib_TypeDescription
#define SAL_THROW_EXTERN_C()