1 /* 2 * Copyright 2016 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 * 7 */ 8 9 #pragma once 10 11 // 12 // 13 // 14 15 #include "skc.h" 16 17 // 18 // 19 // 20 21 skc_err 22 skc_assert_skc(void const * const ptr, char const * const file, int const line, bool const abort); 23 24 // 25 // 26 // 27 28 #define skc(...) skc_assert_skc((skc_##__VA_ARGS__), __FILE__, __LINE__, true); 29 #define skc_ok(err) skc_assert_skc((err ), __FILE__, __LINE__, true); 30 31 // 32 // 33 // 34