UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
common.hh
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2// Modified version of Voro++'s source file
3
4// Voro++, a 3D cell-based Voronoi library
5//
6// Author : Chris H. Rycroft (LBL / UC Berkeley)
7// Email : chr@alum.mit.edu
8// Date : August 30th 2011
9
13#ifndef VOROPP_COMMON_HH
14#define VOROPP_COMMON_HH
15
16#include <cstdio>
17#include <cstdlib>
18#include <vector>
19
20#include "config.hh"
21
23
24namespace voro {
25
31inline void voro_fatal_error(const char *p,int status) {
32 checkf(false, TEXT("voro++ failure: %s (status code: %d)"), ANSI_TO_TCHAR(p), status);
33}
34
35}
36
37#endif
#define checkf(expr, format,...)
Definition AssertionMacros.h:315
#define TEXT(x)
Definition Platform.h:1272
#define ANSI_TO_TCHAR(str)
Definition StringConv.h:1020
Master configuration file for setting various compile-time options.
Definition c_loops.cc:15
void voro_fatal_error(const char *p, int status)
Function for printing fatal error messages and exiting.
Definition common.hh:31