mirror of
https://github.com/boostorg/dll.git
synced 2026-01-24 05:52:08 +00:00
minor fixes, tests update
This commit is contained in:
17
example/tutorial3/static_plugin.cpp
Normal file
17
example/tutorial3/static_plugin.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2011-2012 Renato Tegon Forti
|
||||
// Copyright 2014 Renato Tegon Forti, Antony Polukhin.
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// (See accompanying file LICENSE_1_0.txt
|
||||
// or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// For more information, see http://www.boost.org
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/plugin/alias.hpp>
|
||||
|
||||
extern "C" BOOST_SYMBOL_EXPORT int sumexe(int x, int y)
|
||||
{
|
||||
return x+y;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user