File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818#include " soul.hpp"
1919
20- namespace std {
21- void __throw_bad_alloc (void ) { error (PROGRAM_ERROR_STATUS, " bad alloc" ); while (1 ); }
22- void __throw_bad_function_call () { error (PROGRAM_ERROR_STATUS, " bad func" ); while (1 ); }
23- void __throw_length_error (const char *) { error (PROGRAM_ERROR_STATUS, " bad len" ); while (1 ); }
24- }
25-
2620#define MAX_MIDI_MESSAGES 32
2721class SoulPatch : public Patch {
2822private:
Original file line number Diff line number Diff line change 11#include < stdlib.h>
22#include " heap.h"
3+ #include " message.h"
34
45extern " C" void *__gxx_personality_v0;
56extern " C" void __cxa_end_cleanup (void );
@@ -19,3 +20,9 @@ extern "C" int __cxa_guard_acquire ( __int64_t *guard_object ){ return !*(char *
1920// Sets the first byte of the guard object to a non-zero value.
2021extern " C" void __cxa_guard_release ( __int64_t *guard_object ){ *(char *)guard_object = 1 ; }
2122extern " C" void __cxa_guard_abort ( __int64_t *guard_object ){}
23+
24+ namespace std {
25+ void __throw_bad_alloc (void ) { error (PROGRAM_ERROR_STATUS, " bad alloc" ); while (1 ); }
26+ void __throw_bad_function_call () { error (PROGRAM_ERROR_STATUS, " bad func" ); while (1 ); }
27+ void __throw_length_error (const char *) { error (PROGRAM_ERROR_STATUS, " bad len" ); while (1 ); }
28+ }
You can’t perform that action at this time.
0 commit comments