1 /* 2 * Copyright 2018 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can 5 * be found in the LICENSE file. 6 * 7 */ 8 9 #ifndef SKC_ONCE_SKC_ERR 10 #define SKC_ONCE_SKC_ERR 11 12 // 13 // 14 // 15 16 typedef enum skc_err { 17 18 SKC_ERR_SUCCESS = 0, 19 20 SKC_ERR_API_BASE = 10000, 21 22 SKC_ERR_NOT_IMPLEMENTED = SKC_ERR_API_BASE, 23 24 SKC_ERR_POOL_EMPTY, 25 26 SKC_ERR_CONDVAR_WAIT, 27 28 SKC_ERR_LAYER_ID_INVALID, 29 SKC_ERR_LAYER_NOT_EMPTY, 30 31 SKC_ERR_TRANSFORM_WEAKREF_INVALID, 32 SKC_ERR_STROKE_STYLE_WEAKREF_INVALID, 33 34 SKC_ERR_COMMAND_NOT_READY, 35 SKC_ERR_COMMAND_NOT_COMPLETED, 36 SKC_ERR_COMMAND_NOT_STARTED, 37 38 SKC_ERR_COMMAND_NOT_READY_OR_COMPLETED, 39 40 SKC_ERR_COMPOSITION_SEALED, 41 SKC_ERR_STYLING_SEALED, 42 43 SKC_ERR_HANDLE_INVALID, 44 SKC_ERR_HANDLE_OVERFLOW, 45 46 SKC_ERR_COUNT 47 48 } skc_err; 49 50 // 51 // 52 // 53 54 #endif 55 56 // 57 // 58 // 59