1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23

base / test / native_library_test_utils.cc [blame]

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/test/native_library_test_utils.h"

namespace {

int g_static_value = 0;

}  // namespace

extern "C" {

int g_native_library_exported_value = 0;

int NativeLibraryTestIncrement() { return ++g_static_value; }

void NativeLibraryResetCounter() {
  g_static_value = 0;
}

}  // extern "C"