Skip to content

Commit e989d4f

Browse files
committed
More doc fixes
1 parent edf8221 commit e989d4f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/c-api/include/wasmtime/_val_class.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ public:
218218
/// value.
219219
std::optional<Func> funcref() const;
220220

221+
/// Raw C-API representation.
221222
using Raw = wasmtime_val_t;
222223

223224
/**

crates/c-api/include/wasmtime/val.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ typedef uint8_t wasmtime_v128[16];
6464
* referencing the internal data requires using a `wasmtime_context_t`.
6565
*
6666
* Anyref values are required to be explicitly unrooted via
67-
* #wasmtime_anyref_unroot to enable them to be garbage-collected.
67+
* `wasmtime_anyref_unroot` to enable them to be garbage-collected.
6868
*
6969
* If you do not unroot the value, *even if you free the corresponding
7070
* Store*, there will be some memory leaked, because GC roots use a

0 commit comments

Comments
 (0)