Skip to main content

register_variable

Function register_variable 

Source
pub fn register_variable(
    address: usize,
    var_name: String,
    type_name: String,
    size: usize,
)
Expand description

Compatibility wrapper for variable registration

This function is used to register variable metadata with the global MemScope instance.

ยงArguments

  • address - The memory address of the variable
  • var_name - The name of the variable
  • type_name - The type name of the variable
  • size - The size of the variable in bytes