AngelScript

Funcdefs

Funcdefs are used to define a function signature that will be used to store pointers to functions with matching signatures. With this a function pointer can be created, which is able to store dynamic pointers that can be invoked at a later time as a normal function call.

      // Define a function signature for the function pointer
      funcdef bool CALLBACK(int, int);

See also:
  Function pointers for more information on how to use this