EVM-C: rename evm_release_result_resources() -> evm_release_result()

This commit is contained in:
Paweł Bylica 2016-08-23 00:51:18 +02:00
parent 70be53cf4d
commit 609b6b2390
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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 {