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 = nullptr; 11 PlatformGetSpecific(bool)12void* SkTLS::PlatformGetSpecific(bool) { 13 return gSpecific; 14 } 15 PlatformSetSpecific(void * ptr)16void SkTLS::PlatformSetSpecific(void* ptr) { 17 gSpecific = ptr; 18 } 19