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

#include "SkInstCnt.h"

#if SK_ENABLE_INST_COUNT && !defined(SKIA_DLL)  // See SkInstCnt.h
    bool gPrintInstCount = false;
    void SkInstCountPrintLeaksOnExit() { gPrintInstCount = true; }
#else
    void SkInstCountPrintLeaksOnExit() {}
#endif