Front End Extension function prototype

A Front End Extension Function must use the required prototype.

int <name> ( const struct frontEndInterface &<fx>);
Note:
  1. <name> is the name of your function.
  2. <fx> is the structure for the frontEndInterface
  3. This function return 0 if it is successful, -1 if not.

Parameters are transmitted via a stack. This stack can be managed using the functions provided by the frontEndInterface structure. getParamCount(); and getReturnCount(); can be used to check if the number of parameters is correct.