You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
629 B
27 lines
629 B
|
|
/* |
|
* Copyright 2013 Google Inc. |
|
* |
|
* Use of this source code is governed by a BSD-style license that can be |
|
* found in the LICENSE file. |
|
*/ |
|
|
|
#ifndef SkErrorInternals_DEFINED |
|
#define SkErrorInternals_DEFINED |
|
|
|
#include "SkError.h" |
|
|
|
class SkErrorInternals { |
|
|
|
public: |
|
static void ClearError(); |
|
static void SetError(SkError code, const char *fmt, ...); |
|
static SkError GetLastError(); |
|
static const char *GetLastErrorString(); |
|
static void SetErrorCallback(SkErrorCallbackFunction cb, void *context); |
|
static void DefaultErrorCallback(SkError code, void *context); |
|
}; |
|
|
|
|
|
|
|
#endif /* SkErrorInternals_DEFINED */
|
|
|