2016-01-14 02:02:56 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2015 Wind River Systems, Inc.
|
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2016-01-14 02:02:56 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @file
|
|
|
|
* @brief Stub for C++ virtual tables
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @brief basic virtual tables required for classes to build
|
|
|
|
*
|
|
|
|
*/
|
2018-10-30 02:09:42 +08:00
|
|
|
#if !defined(CONFIG_LIB_CPLUSPLUS)
|
2016-01-14 02:02:56 +08:00
|
|
|
|
|
|
|
namespace __cxxabiv1 {
|
|
|
|
class __class_type_info {
|
|
|
|
virtual void dummy();
|
|
|
|
};
|
|
|
|
class __si_class_type_info {
|
|
|
|
virtual void dummy();
|
|
|
|
};
|
|
|
|
void __class_type_info::dummy() { } // causes the vtable to get created here
|
|
|
|
void __si_class_type_info::dummy() { } // causes the vtable to get created here
|
|
|
|
};
|
2018-10-30 02:09:42 +08:00
|
|
|
#endif // !defined(CONFIG_LIB_CPLUSPLUS)
|