concommand

Attribute Macro concommand 

Source
#[concommand]
Expand description

proc marco for generating compatible concommand callbacks

this macro wraps your function in another function and tries to provide the argurments your requested

ยงhow to use it

the 2 possible function signatures are

  • fn(CCommandResult)
  • fn()

the result is ignored so it can be anything