aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/test/test_lib.hpp
blob: 2506d93e7a8d967b6a799206fe57c99e276d6e08 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                         

                                                                

                                     





                                                         
                   









                                     
                                     
 
                      
// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
// 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 {

typedef void (*F)();

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