Belle II Software
development
util.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
/* util.h */
9
10
11
#ifndef UTIL_H
12
#define UTIL_H
13
14
#include <stdio.h>
15
#include <errno.h>
16
17
#define ERROR(func) { fprintf(stderr, "[ERROR] %s:%d: "
#func"(): %s\n", __FILE__, __LINE__, strerror(errno));}
18
19
extern
void
dump_binary(FILE* fp,
const
void
* ptr,
const
size_t
size);
20
21
22
#endif
/* UTIL_H */
23
daq
roisend
include
util.h
Generated on Sun Nov 10 2024 02:34:55 for Belle II Software by
1.9.6