~ubuntu-branches/ubuntu/saucy/bwa/saucy

« back to all changes in this revision

Viewing changes to utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy
  • Date: 2011-02-08 16:11:12 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20110208161112-1fvt0mtygl8rhajf
Tags: 0.5.9-1
* New usptream release
  - Upstream moved to GitHub (debian/upstream-metadata.yaml).
  - Checked copyright; one file was removed (debian/copyright).
* Migrated the Debian source package to Git (debian/control).
* Use Debhelper 8 (debian/control, debian/compat).

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
#define err_fatal_simple(msg) err_fatal_simple_core(__func__, msg)
35
35
#define xopen(fn, mode) err_xopen_core(__func__, fn, mode)
 
36
#define xreopen(fn, mode, fp) err_xreopen_core(__func__, fn, mode, fp)
36
37
#define xzopen(fn, mode) err_xzopen_core(__func__, fn, mode)
37
38
#define xassert(cond, msg) if ((cond) == 0) err_fatal_simple_core(__func__, msg)
38
39
 
43
44
        void err_fatal(const char *header, const char *fmt, ...);
44
45
        void err_fatal_simple_core(const char *func, const char *msg);
45
46
        FILE *err_xopen_core(const char *func, const char *fn, const char *mode);
 
47
        FILE *err_xreopen_core(const char *func, const char *fn, const char *mode, FILE *fp);
46
48
        gzFile err_xzopen_core(const char *func, const char *fn, const char *mode);
47
49
 
48
50
#ifdef __cplusplus