Use code quotes around VMContext in comments.
This commit is contained in:
@@ -14,7 +14,7 @@ pub enum Export {
|
|||||||
address: *const VMFunctionBody,
|
address: *const VMFunctionBody,
|
||||||
/// The function signature declaration, used for compatibilty checking.
|
/// The function signature declaration, used for compatibilty checking.
|
||||||
signature: ir::Signature,
|
signature: ir::Signature,
|
||||||
/// Pointer to the containing VMContext.
|
/// Pointer to the containing `VMContext`.
|
||||||
vmctx: *mut VMContext,
|
vmctx: *mut VMContext,
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ pub enum Export {
|
|||||||
Table {
|
Table {
|
||||||
/// The address of the table descriptor.
|
/// The address of the table descriptor.
|
||||||
definition: *mut VMTableDefinition,
|
definition: *mut VMTableDefinition,
|
||||||
/// Pointer to the containing VMContext.
|
/// Pointer to the containing `VMContext`.
|
||||||
vmctx: *mut VMContext,
|
vmctx: *mut VMContext,
|
||||||
/// The table declaration, used for compatibilty checking.
|
/// The table declaration, used for compatibilty checking.
|
||||||
table: TablePlan,
|
table: TablePlan,
|
||||||
@@ -32,7 +32,7 @@ pub enum Export {
|
|||||||
Memory {
|
Memory {
|
||||||
/// The address of the memory descriptor.
|
/// The address of the memory descriptor.
|
||||||
definition: *mut VMMemoryDefinition,
|
definition: *mut VMMemoryDefinition,
|
||||||
/// Pointer to the containing VMContext.
|
/// Pointer to the containing `VMContext`.
|
||||||
vmctx: *mut VMContext,
|
vmctx: *mut VMContext,
|
||||||
/// The memory declaration, used for compatibilty checking.
|
/// The memory declaration, used for compatibilty checking.
|
||||||
memory: MemoryPlan,
|
memory: MemoryPlan,
|
||||||
@@ -42,7 +42,7 @@ pub enum Export {
|
|||||||
Global {
|
Global {
|
||||||
/// The address of the global storage.
|
/// The address of the global storage.
|
||||||
definition: *mut VMGlobalDefinition,
|
definition: *mut VMGlobalDefinition,
|
||||||
/// Pointer to the containing VMContext.
|
/// Pointer to the containing `VMContext`.
|
||||||
vmctx: *mut VMContext,
|
vmctx: *mut VMContext,
|
||||||
/// The global declaration, used for compatibilty checking.
|
/// The global declaration, used for compatibilty checking.
|
||||||
global: Global,
|
global: Global,
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ pub struct VMFunctionImport {
|
|||||||
/// A pointer to the imported function body.
|
/// A pointer to the imported function body.
|
||||||
pub body: *const VMFunctionBody,
|
pub body: *const VMFunctionBody,
|
||||||
|
|
||||||
/// A pointer to the VMContext that owns the function.
|
/// A pointer to the `VMContext` that owns the function.
|
||||||
pub vmctx: *mut VMContext,
|
pub vmctx: *mut VMContext,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@ pub struct VMTableImport {
|
|||||||
/// A pointer to the imported table description.
|
/// A pointer to the imported table description.
|
||||||
pub from: *mut VMTableDefinition,
|
pub from: *mut VMTableDefinition,
|
||||||
|
|
||||||
/// A pointer to the VMContext that owns the table description.
|
/// A pointer to the `VMContext` that owns the table description.
|
||||||
pub vmctx: *mut VMContext,
|
pub vmctx: *mut VMContext,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -104,7 +104,7 @@ pub struct VMMemoryImport {
|
|||||||
/// A pointer to the imported memory description.
|
/// A pointer to the imported memory description.
|
||||||
pub from: *mut VMMemoryDefinition,
|
pub from: *mut VMMemoryDefinition,
|
||||||
|
|
||||||
/// A pointer to the VMContext that owns the memory description.
|
/// A pointer to the `VMContext` that owns the memory description.
|
||||||
pub vmctx: *mut VMContext,
|
pub vmctx: *mut VMContext,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user