MIDAS
Loading...
Searching...
No Matches
fakezlib.cxx
Go to the documentation of this file.
1
//
2
// Fake libz.a for cross-compilation where cross-built libz.a is not available
3
//
4
5
#undef NDEBUG
// midas requires assert() to be always enabled
6
7
#include <stdio.h>
8
#include <assert.h>
9
#include <zlib.h>
10
11
ZEXTERN
gzFile
ZEXPORT
gzopen
OF
((
const
char
*path,
const
char
*
mode
))
12
{
13
assert(!
"fakezlib.cxx::gzopen(): libz.a is not availble in this build of MIDAS!"
);
14
}
15
16
ZEXTERN
int
ZEXPORT
gzread
OF
((
gzFile
file
,
voidp
buf,
unsigned
len))
17
{
18
assert(!
"fakezlib.cxx::gzread(): libz.a is not availble in this build of MIDAS!"
);
19
}
20
21
ZEXTERN
int
ZEXPORT
gzclose
OF
((
gzFile
file
))
22
{
23
assert(!
"fakezlib.cxx::gzclose(): libz.a is not availble in this build of MIDAS!"
);
24
}
25
26
// end
27
OF
ZEXTERN gzFile ZEXPORT gzopen OF((const char *path, const char *mode))
Definition
fakezlib.cxx:11
h1_book
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
Definition
rmidas.h:24
file
Definition
mongoose4.cxx:426
src
fakezlib.cxx
Generated on Sat May 3 2025 05:01:06 for MIDAS by
1.9.8