From 04ddc0fb933ad85c003a3c1344bd0992f9db6a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Wed, 31 Aug 2016 11:58:19 +0200 Subject: [PATCH] EVM-C: update docs --- include/evm.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/evm.h b/include/evm.h index 84466ce..899a41c 100644 --- a/include/evm.h +++ b/include/evm.h @@ -284,8 +284,8 @@ typedef void (*evm_destroy_fn)(struct evm_instance* evm); /// - optimizations, /// /// @param evm The EVM instance to be configured. -/// @param name The option name. Cannot be null. -/// @param value The new option value. Cannot be null. +/// @param name The option name. NULL-terminated string. Cannot be NULL. +/// @param value The new option value. NULL-terminated string. Cannot be NULL. /// @return 1 if the option set successfully, 0 otherwise. typedef int (*evm_set_option_fn)(struct evm_instance* evm, char const* name, @@ -409,7 +409,8 @@ struct evm_interface { /// Example of a function exporting an interface for an example VM. /// /// Each VM implementation is obligates to provided a function returning -/// VM's interface. The function has to be named as `_get_interface()`. +/// VM's interface. +/// The function has to be named as `_get_interface(void)`. /// /// @return VM interface struct evm_interface examplevm_get_interface(void);