mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-05 02:20:19 +00:00
Merge pull request #1398 from satrobit/master
Correct ctx data variable name in comment
This commit is contained in:
commit
789d8f214e
@ -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.
|
||||
/// {
|
||||
|
Loading…
Reference in New Issue
Block a user