plastimatch
Loading...
Searching...
No Matches
print_and_exit.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _print_and_exit_h_
5#define _print_and_exit_h_
6
7#include "plmsys_config.h"
8
9PLMSYS_API void print_and_exit (const char* prompt_fmt, ...);
10#define error_printf(fmt, ...) \
11 fprintf (stderr, "\nplastimatch has encountered an issue.\n" \
12 "file: %s (line:%i)\n" fmt, __FILE__, __LINE__,##__VA_ARGS__)
13
14
15#endif
#define PLMSYS_API
Definition plmsys_config.h:19
void print_and_exit(const char *prompt_fmt,...)
Definition print_and_exit.cxx:19