SkTLS_none.cpp 343 B

123456789101112131415161718
  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. #include "src/core/SkTLS.h"
  8. static void* gSpecific = nullptr;
  9. void* SkTLS::PlatformGetSpecific(bool) {
  10. return gSpecific;
  11. }
  12. void SkTLS::PlatformSetSpecific(void* ptr) {
  13. gSpecific = ptr;
  14. }