Merge pull request #1398 from satrobit/master

Correct ctx data variable name in comment
This commit is contained in:
Syrus Akbary 2020-04-20 21:20:21 -07:00 committed by GitHub
commit 789d8f214e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,7 +420,7 @@ pub unsafe extern "C" fn wasmer_instance_exports(
/// // Allocate them and set them on the given instance.
/// my_data *data = malloc(sizeof(my_data));
/// data->… = …;
/// wasmer_instance_context_data_set(instance, (void*) my_data);
/// wasmer_instance_context_data_set(instance, (void*) data);
///
/// // You can read your data.
/// {