docs: Unify evmc_create_example_vm() example

This commit is contained in:
Paweł Bylica 2018-10-18 14:56:04 +02:00
parent 997d797816
commit d54035828a
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
2 changed files with 2 additions and 2 deletions

View File

@ -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" 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 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). Invoking the create function will give you the VM instance (::evmc_instance).
It is recommended to create the VM instance once. It is recommended to create the VM instance once.

View File

@ -911,7 +911,7 @@ struct evmc_instance
* *
* @return EVM instance or NULL indicating instance creation failure. * @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 #endif
#if __cplusplus #if __cplusplus