Skip to content

Commit

Permalink
examples: Export precompiles_vm create function
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed May 9, 2019
1 parent e5b5792 commit b79037e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/example_precompiles_vm/example_precompiles_vm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <evmc/evmc.h>
#include <evmc/utils.h>
#include <algorithm>

static evmc_result execute_identity(const evmc_message* msg)
Expand Down Expand Up @@ -96,7 +97,7 @@ static evmc_result execute(evmc_instance*,
}
}

extern "C" evmc_instance* evmc_create_example_precompiles_vm()
extern "C" EVMC_EXPORT evmc_instance* evmc_create_example_precompiles_vm()
{
static struct evmc_instance instance = {
EVMC_ABI_VERSION,
Expand Down

0 comments on commit b79037e

Please sign in to comment.