tmp.c/common.h
2025-02-10 17:15:32 -05:00

17 lines
421 B
C++

// Copyright 2025 Vincent Batts <vbatts@hashbangbash.com>
#ifndef COMMON_H_
#define COMMON_H_
#include <iostream>
// https://www.geeksforgeeks.org/cpp-macros/#
#define log_out(hurr) \
std::cout << "[" << __FILE__ << ":" << __LINE__ << "] " << hurr << std::endl;
#define log_err(hurr) \
std::cerr << "[" << __FILE__ << ":" << __LINE__ << "] " << hurr << std::endl;
#endif // COMMON_H_
// vim:set sts=2 sw=2 et: