mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 15:38:22 +00:00
- `__cxa_*` runtime functions are expected to be in the `abi` namespace, which is currently an alias for `__cxxabiv1`. - Rely on the header provided by `libcxxabi` for functions that we do not implement ourselves anymore.
19 lines
475 B
C++
19 lines
475 B
C++
#ifndef _CXXABI_H
|
|
#define _CXXABI_H
|
|
COSMOPOLITAN_C_START_
|
|
|
|
#ifdef __cplusplus
|
|
namespace __cxxabiv1 {
|
|
#endif /* __cplusplus */
|
|
|
|
char *__cxa_demangle(const char *, char *, size_t *, int *);
|
|
int __cxa_atexit(void (*)(void *), void *, void *) paramsnonnull((1)) dontthrow;
|
|
int __cxa_thread_atexit(void *, void *, void *) dontthrow;
|
|
void __cxa_finalize(void *);
|
|
|
|
#ifdef __cplusplus
|
|
} /* namespace __cxxabiv1 */
|
|
#endif /* __cplusplus */
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* _CXXABI_H */
|