Attribute Macro andr_instantiate

Source
#[andr_instantiate]
Expand description

Adjusted from https://users.rust-lang.org/t/solved-derive-and-proc-macro-add-field-to-an-existing-struct/52307/3 Adds all fields required to instantiate an ADO to a struct.

Includes:

  1. Kernel Address for interacting with aOS
  2. Owner of the ADO (optional, assumed to be sender otherwise)
  3. Modules (optional, requires modules feature)