aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkTLS_none.cpp
blob: d655560c22ee89565cedc33966f72d6d57ae0d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright 2013 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "SkTLS.h"

static void* gSpecific = nullptr;

void* SkTLS::PlatformGetSpecific(bool) {
    return gSpecific;
}

void SkTLS::PlatformSetSpecific(void* ptr) {
    gSpecific = ptr;
}