Skip to main content

DESC_SET_DATATYPE

Constant DESC_SET_DATATYPE 

Source
pub const DESC_SET_DATATYPE: &str = "\
Apply a named data type to the DATA at an address (retype a global/data location). datatype_name is \
resolved by name (DATATYPE_NOT_FOUND / AMBIGUOUS_DATATYPE with candidates). The literal \"undefined\" \
CLEARS the defined data at the address (frees the space). Idempotent: if the location already has an \
equivalent type you get status:already_applied. Pass expected_datatype ONLY to guard against drift (its \
value is the current type's display name, or \"undefined\" to assert the location is untyped). Retyping a \
function PARAMETER is part of set_prototype (whole-signature); retyping a function LOCAL variable is \
set_local. The edit is saved to \
disk (durable). target is an address or a symbol name.";