MPHELL  4.0.0
Functions
mphell-errors.c File Reference

Definition of error functions. More...

#include "mphell-init.h"
Include dependency graph for mphell-errors.c:

Go to the source code of this file.

Functions

void mphell_assert_error (const char *filename, int line, const char *expr)
 Write in stderr, filename, line and expr, free mphell. More...
 
void mphell_error (char *expr)
 Write in stderr, filename, line and expr, free mphell. More...
 
void mphell_error_free (char *expr)
 Write in stderr, filename, line and expr, free expr and mphell. More...
 

Detailed Description

Definition of error functions.

Definition in file mphell-errors.c.

Function Documentation

◆ mphell_assert_error()

void mphell_assert_error ( const char *  filename,
int  line,
const char *  expr 
)

Write in stderr, filename, line and expr, free mphell.

Parameters
filenameFile where the error occured
lineLine where the rrors occured
exprError description

Definition at line 29 of file mphell-errors.c.

◆ mphell_error()

void mphell_error ( char *  expr)

Write in stderr, filename, line and expr, free mphell.

Parameters
exprError description

Definition at line 45 of file mphell-errors.c.

◆ mphell_error_free()

void mphell_error_free ( char *  expr)

Write in stderr, filename, line and expr, free expr and mphell.

Parameters
exprError description, allocated dynamically

Definition at line 61 of file mphell-errors.c.