R3ErrPos

FUNCTION:

R3ErrPos

TEMPLATE:

int R3ErrPos(char *file, int line);

PARAMETERS:

file - name of the source file from which the error was generated

RETURN VALUE:

Always 0

DESCRIPTION:

Sets internal file and line attributes used by application error subsystem. This function is called automatically by R3Error() function. If R3DEBUG macro is defined, the error message contains file and line from where the error was generated. For example: Not enough memory File: r3sphere.c Line: 125