ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
demangle_stub.cc
Go to the documentation of this file.
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5#include <stddef.h>
6
7char* __cxa_demangle(const char* mangled_name, char* output_buffer,
8 size_t* length, int* status);
9
10char* __cxa_demangle(const char* mangled_name, char* output_buffer,
11 size_t* length, int* status) {
12 (void)mangled_name;
13 (void)output_buffer;
14 (void)length;
15 if (status) *status = -1; // signal "demangling failed"
16 return NULL; // caller falls back to printing the mangled name
17}
18
19#ifdef __cplusplus
20}
21#endif
char * __cxa_demangle(const char *mangled_name, char *output_buffer, size_t *length, int *status)