2012-11-02 00:50:53 +08:00
|
|
|
//***************************************************************************
|
2018-05-30 03:21:26 +08:00
|
|
|
// libs/libxx/libxx.hxx
|
2012-11-02 00:50:53 +08:00
|
|
|
//
|
2021-02-24 02:12:11 +08:00
|
|
|
// 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
|
2012-11-02 00:50:53 +08:00
|
|
|
//
|
2021-02-24 02:12:11 +08:00
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
2012-11-02 00:50:53 +08:00
|
|
|
//
|
2021-02-24 02:12:11 +08:00
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
// License for the specific language governing permissions and limitations
|
2012-11-02 00:50:53 +08:00
|
|
|
//
|
|
|
|
//***************************************************************************
|
|
|
|
|
2022-01-15 10:44:35 +08:00
|
|
|
#ifndef __LIBS_LIBXX_LIBXX_HXX
|
|
|
|
#define __LIBS_LIBXX_LIBXX_HXX 1
|
2012-11-02 00:50:53 +08:00
|
|
|
|
|
|
|
//***************************************************************************
|
|
|
|
// Included Files
|
|
|
|
//***************************************************************************
|
|
|
|
|
|
|
|
#include <nuttx/config.h>
|
|
|
|
|
2021-08-29 21:36:24 +08:00
|
|
|
#include <nuttx/compiler.h>
|
2013-03-10 05:12:20 +08:00
|
|
|
|
2012-11-02 00:50:53 +08:00
|
|
|
//***************************************************************************
|
|
|
|
// Public Types
|
|
|
|
//***************************************************************************/
|
|
|
|
|
|
|
|
typedef CODE void (*__cxa_exitfunc_t)(void *arg);
|
|
|
|
|
|
|
|
//***************************************************************************
|
2016-02-22 08:08:58 +08:00
|
|
|
// Public Data
|
2012-11-02 00:50:53 +08:00
|
|
|
//***************************************************************************
|
|
|
|
|
2020-07-08 11:19:14 +08:00
|
|
|
extern "C" FAR void *__dso_handle weak_data;
|
2012-11-02 00:50:53 +08:00
|
|
|
|
|
|
|
//***************************************************************************
|
|
|
|
// Public Function Prototypes
|
|
|
|
//***************************************************************************
|
|
|
|
|
|
|
|
extern "C" int __cxa_atexit(__cxa_exitfunc_t func, void *arg, void *dso_handle);
|
|
|
|
|
2022-01-15 10:44:35 +08:00
|
|
|
#endif // __LIBS_LIBXX_LIBXX_HXX
|