Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loader: Make error_code in evmc_load_and_create() optional #311

Merged
merged 3 commits into from
Jun 5, 2019

Conversation

chfast
Copy link
Member

@chfast chfast commented Jun 3, 2019

No description provided.

@chfast chfast force-pushed the loader_error_code branch 2 times, most recently from f206c5d to bf23350 Compare June 3, 2019 13:03
@chfast chfast requested review from axic and gumb0 June 3, 2019 13:03
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
test/unittests/test_loader.cpp Show resolved Hide resolved
* the ::EVMC_LOADER_INVALID_ARGUMENT is signaled.
* @param error_code The pointer to the error code. If not NULL the value is set to
* ::EVMC_LOADER_SUCCESS on success or any other error code as described above.
* @return The pointer to the created VM.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or NULL in case of an error. An error_code is supplied in this case.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed.

Changed: In `evmc_load_and_create()` the `error_code` is optional (can be `NULL`).
@chfast chfast merged commit 1b61583 into master Jun 5, 2019
@chfast chfast deleted the loader_error_code branch June 5, 2019 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants