Skip to content

Commit

Permalink
docs: Unify evmc_create_example_vm() example
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Oct 18, 2018
1 parent 997d797 commit d540358
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Host_Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion include/evmc/evmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d540358

Please sign in to comment.