bungeman@google.com | f2e7dbb | 2013-07-16 14:59:24 +0000 | [diff] [blame] | 1 | /* |
2 | * Copyright 2013 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 | #include "SkTLS.h" | ||||
9 | |||||
10 | static void* gSpecific = NULL; | ||||
11 | |||||
12 | void* SkTLS::PlatformGetSpecific(bool) { | ||||
13 | return gSpecific; | ||||
14 | } | ||||
15 | |||||
16 | void SkTLS::PlatformSetSpecific(void* ptr) { | ||||
17 | gSpecific = ptr; | ||||
18 | } |