mirror of https://github.com/status-im/evmc.git
EVM-C: rename evm_release_result_resources() -> evm_release_result()
This commit is contained in:
parent
70be53cf4d
commit
609b6b2390
|
@ -33,6 +33,6 @@ void example() {
|
|||
sizeof(code), gas, (uint8_t const*)input,
|
||||
sizeof(input), value);
|
||||
|
||||
evm_release_result_resources(&result);
|
||||
evm_release_result(&result);
|
||||
evm_destroy(jit);
|
||||
}
|
||||
|
|
|
@ -328,7 +328,7 @@ EXPORT struct evm_result evm_execute(struct evm_instance* instance,
|
|||
size_t input_size,
|
||||
struct evm_uint256 value);
|
||||
|
||||
/// Releases the resources assigned to the execution result.
|
||||
/// Releases resources assigned to an execution result.
|
||||
///
|
||||
/// This function releases memory (and other resources, if any) assigned to the
|
||||
/// specified execution result making the result object invalid.
|
||||
|
@ -336,7 +336,7 @@ EXPORT struct evm_result evm_execute(struct evm_instance* instance,
|
|||
/// @param result The execution result which resource are to be released. The
|
||||
/// result itself it not modified by this function, but becomes
|
||||
/// invalid and user should discard it as well.
|
||||
EXPORT void evm_release_result_resources(struct evm_result const* result);
|
||||
EXPORT void evm_release_result(struct evm_result const* result);
|
||||
|
||||
/// Status of a code in VM. Useful for JIT-like implementations.
|
||||
enum evm_code_status {
|
||||
|
|
Loading…
Reference in New Issue