Navigation

Operators and Keywords

Function List:

C++ API

lo-error.c File Reference

#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "lo-error.h"

Include dependency graph for lo-error.c:


Functions

void set_liboctave_error_handler (liboctave_error_handler f)
void set_liboctave_warning_handler (liboctave_warning_handler f)
void set_liboctave_warning_with_id_handler (liboctave_warning_with_id_handler f)
void liboctave_fatal (const char *fmt,...)
void liboctave_warning (const char *fmt,...)
void liboctave_warning_with_id (const char *id, const char *fmt,...)

Variables

liboctave_error_handler current_liboctave_error_handler = liboctave_fatal
liboctave_warning_handler current_liboctave_warning_handler = liboctave_warning
liboctave_warning_with_id_handler current_liboctave_warning_with_id_handler = liboctave_warning_with_id

Function Documentation

void liboctave_fatal ( const char *  fmt,
  ... 
)

void liboctave_warning ( const char *  fmt,
  ... 
)

void liboctave_warning_with_id ( const char *  id,
const char *  fmt,
  ... 
)

void set_liboctave_error_handler ( liboctave_error_handler  f  ) 

void set_liboctave_warning_handler ( liboctave_warning_handler  f  ) 

void set_liboctave_warning_with_id_handler ( liboctave_warning_with_id_handler  f  ) 


Variable Documentation