ajcall.c
Create hash value pair using the name and function.
Synopsis
Prototype
void ajCallRegister (
const char* name,
CallFunc func
);
| Type | Name | Read/Write | Description |
| const char* | name | Input | name which is used later.. |
| CallFunc | func | Function | function 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
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
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,
...
);
| Type | Name | Read/Write | Description |
| const char* | name | Input | name of the function to call. |
| ... | vararg | Vararg | Optional arguments |
| void* | | RETURN | NULL 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
Cleans up calls register internal memory
Synopsis
Prototype
void ajCallExit (
void
);
| Type | Name | Read/Write | Description |
| void | | RETURN | |
Returns
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