Function wasmer_c_api::deprecated::instance::wasmer_instance_context_data_get[][src]

#[no_mangle]pub unsafe extern "C" fn wasmer_instance_context_data_get(
    ctx: Option<&'static wasmer_instance_context_t>
) -> Option<NonNull<c_void>>

Gets the data that can be hold by an instance.

This function is complementary of wasmer_instance_context_data_set(). Please read its documentation. You can also read the documentation of wasmer_instance_context_t to get other examples.

This function returns nothing if ctx is a null pointer.