File: assert.cpp

package info (click to toggle)
pilercr 1.06%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 844 kB
  • sloc: cpp: 14,339; makefile: 67; sh: 36
file content (7 lines) | stat: -rwxr-xr-x 239 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#include "pilercr.h"

void assert_(const char *Exp, const char *FileName, unsigned LineNr)
	{
	fprintf(stderr, "Assertion failed(%s:%d) %s\n", FileName, LineNr, Exp);
	Quit("Assertion failed(%s:%d) %s\n", FileName, LineNr, Exp);
	}