ajcall.c


Function ajCallRegister

Create hash value pair using the name and function.

Synopsis

Prototype

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

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 3.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,
      ...
);

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 3.0.0

Function ajCallExit

Cleans up calls register internal memory

Synopsis

Prototype

void ajCallExit (
      void
);

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 3.0.0