From d54035828a1f95683e6b05708ad847f00044a851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 18 Oct 2018 14:56:04 +0200 Subject: [PATCH] docs: Unify evmc_create_example_vm() example --- docs/Host_Guide.md | 2 +- include/evmc/evmc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Host_Guide.md b/docs/Host_Guide.md index f0124ad..cdd0266 100644 --- a/docs/Host_Guide.md +++ b/docs/Host_Guide.md @@ -20,7 +20,7 @@ When Host implementation is ready it's time to start using EVMC VMs. 1. Firstly, create a VM instance. You need to know what is the name of the "create" function in particular VM implementation. The EVMC recommends to name the - function by the VM codename, e.g. ::evmc_create_examplevm(). + function by the VM codename, e.g. ::evmc_create_example_vm(). Invoking the create function will give you the VM instance (::evmc_instance). It is recommended to create the VM instance once. diff --git a/include/evmc/evmc.h b/include/evmc/evmc.h index 656e477..ab9295d 100644 --- a/include/evmc/evmc.h +++ b/include/evmc/evmc.h @@ -911,7 +911,7 @@ struct evmc_instance * * @return EVM instance or NULL indicating instance creation failure. */ -struct evmc_instance* evmc_create_examplevm(void); +struct evmc_instance* evmc_create_example_vm(void); #endif #if __cplusplus