Haka
debug.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 
5 #ifndef HAKA_DEBUG_H
6 #define HAKA_DEBUG_H
7 
8 #include <haka/config.h>
9 
10 #ifdef HAKA_DEBUG
11  void break_required();
12  #define BREAKPOINT break_required()
13 #else
14  #define BREAKPOINT
15 #endif
16 
17 #endif /* HAKA_DEBUG_H */