1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
// ---------------------------------------------------------------------
// pion: a Boost C++ framework for building lightweight HTTP interfaces
// ---------------------------------------------------------------------
// Copyright (C) 2007-2014 Splunk Inc. (https://github.com/splunk/pion)
//
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
//
#include "hasCreateAndDestroy.hpp"
#include <pion/config.hpp>
/// creates new hasCreateAndDestroy objects
extern "C" PION_PLUGIN hasCreateAndDestroy *pion_create_hasCreateAndDestroy(void)
{
return new hasCreateAndDestroy();
}
/// destroys hasCreateAndDestroy objects
extern "C" PION_PLUGIN void pion_destroy_hasCreateAndDestroy(hasCreateAndDestroy *service_ptr)
{
delete service_ptr;
}
|