aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/test_lib.hpp
blob: a9a299bb76b47e28755e460cf58b880c91f35f39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2020 Egor Tensin <egor@tensin.name>
// This file is part of the "winapi-debug" project.
// For details, see https://github.com/egor-tensin/winapi-debug
// Distributed under the MIT License.

#pragma once

// This is dumb library which exports a bunch of symbols.

#include "test_lib_api.hpp"

namespace test_ns {

using F = void (*)();

TEST_LIB_API extern volatile int var;

TEST_LIB_API void foo(F);
TEST_LIB_API void bar(F);
TEST_LIB_API void baz(F);

TEST_LIB_API void print_call_stack();
TEST_LIB_API void throw_call_stack();

} // namespace test_ns