Skip to main content

Module args

Module args 

Source
Expand description

Parsing of arguments from a Pawn native call.

The AMX delivers arguments in a *mut i32 pointer where:

  • args[0] = number of bytes used by the arguments (not the count)
  • args[1..] = the cells with each argument, in signature order

This module wraps that indirection and converts each cell to the correct Rust type via AmxCell.

Structsยง

Args
Typed list of arguments for a native function.