blob: 0fcce18f01543c2823d3acb54c6e6ac75d421582 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
$FreeBSD$
--- src/reader.hpp.orig
+++ src/reader.hpp
@@ -33,12 +33,6 @@
#include "local.h"
-#ifdef DEBUG
-#define INLINE
-#else
-#define INLINE inline
-#endif
-
typedef vector<uchar> ReadBuffer;
#ifdef __GNUC__
@@ -54,12 +48,12 @@
bool open(const string& filename);
bool close();
bool eof();
- INLINE bool is_open() const;
+ bool is_open() const;
size_t read( ReadBuffer& v, size_t numBytes );
off_t seek( off_t offset );
- INLINE off_t tell() const; // returns the current offset or -1 if !open
- INLINE off_t size() const;
+ off_t tell() const; // returns the current offset or -1 if !open
+ off_t size() const;
const char* lastError() const;
const char* filename() const;
|