Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 392 Bytes

panic.md

File metadata and controls

27 lines (20 loc) · 392 Bytes

panic.h

Example

#include <stdio.h>
#include "owl.h"

int main(int argc, const char* argv[]) {
  // This will print the error message along with the
  // file name and line number and exit the prog with
  // status code "1"
  owl_panic("Some error occured");
}

Functions

owl_panic       # print error and exit the prog

API

#define owl_panic(_msg_)