ajcall.c


Function ajCallRegister

Create hash value pair using the name and function.

Synopsis

Prototype
void ajCallRegister (
      const char* name,
      CallFunc func
);

TypeNameRead/WriteDescription
const char*nameInputname which is used later..
CallFuncfuncFunctionfunction to be called on name being called.
void RETURN

Input
name:(Input)name which is used later..
func:(Function)function to be called on name being called.
Returns
void:No return value

Description

Create hash value pair using the name and function.

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 5.0.0

Function ajCall

Call a function by its name. If it does not exist then give an error message saying so.

Synopsis

Prototype
void* ajCall (
      const char* name,
      ...
);

TypeNameRead/WriteDescription
const char*nameInputname of the function to call.
...varargVarargOptional arguments
void* RETURNNULL if function call not found.

Input
name:(Input)name of the function to call.
:(Vararg)Optional arguments
Returns
void*:NULL if function call not found.

Description

Call a function by its name. If it does not exist then give an error message saying so.

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 5.0.0

Function ajCallExit

Cleans up calls register internal memory

Synopsis

Prototype
void ajCallExit (
      void
);

TypeNameRead/WriteDescription
void RETURN

Returns
void:No return value

Description

Cleans up calls register internal memory

Usage

See source code

Example

In preparation

Errors

See source code

Dependencies

See source code

See Also

See other functions in this section

Availability

In release 5.0.0