Function Functions

Adds a native program call to the given Embryo program. More...

Functions

EAPI Embryo_Function embryo_program_function_find (Embryo_Program *ep, const char *name)
 Returns the function in the given program with the given name.

Detailed Description

Adds a native program call to the given Embryo program.

Parameters
epThe given Embryo program.
nameThe name for the call used in the script.
funcThe function to use when the call is made.

Functions that deal with Embryo program functions.

Function Documentation

EAPI Embryo_Function embryo_program_function_find ( Embryo_Program *  ep,
const char *  name 
)

Returns the function in the given program with the given name.

Parameters
epThe given program.
nameThe given function name.
Returns
The function if successful. Otherwise, EMBRYO_FUNCTION_NONE.