AVRTools
A Library for the AVR ATmega328 and ATmega2560 Microcontrollers
Loading...
Searching...
No Matches
abi.h
Go to the documentation of this file.
1/*
2 abi.h - C++ ABI support missing from avr-gcc.
3 This is part of the AVRTools library.
4 Copyright (c) 2014 Igor Mikolic-Torreira. All right reserved.
5
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20
21
39#ifndef abi_h
40#define abi_h
41
42
43#include <stdlib.h>
44
45__extension__ typedef int __guard __attribute__((mode (__DI__)));
46
47extern "C"
48{
49int __cxa_guard_acquire( __guard* );
50void __cxa_guard_release ( __guard* );
51void __cxa_guard_abort ( __guard* );
52
53void __cxa_pure_virtual() __attribute__ ((__noreturn__));
54void __cxa_deleted_virtual() __attribute__ ((__noreturn__));
55}
56
57
58
59
60
61#endif