remove EXIV2API from src
Already declared in include Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
64556b02d2
commit
c8c289613d
@ -602,7 +602,7 @@ MemIo::Impl::Impl(const byte* data, size_t size) : data_(const_cast<byte*>(data)
|
|||||||
@brief Utility class provides the block mapping to the part of data. This avoids allocating
|
@brief Utility class provides the block mapping to the part of data. This avoids allocating
|
||||||
a single contiguous block of memory to the big data.
|
a single contiguous block of memory to the big data.
|
||||||
*/
|
*/
|
||||||
class EXIV2API BlockMap {
|
class BlockMap {
|
||||||
public:
|
public:
|
||||||
//! the status of the block.
|
//! the status of the block.
|
||||||
enum blockType_e { bNone, bKnown, bMemory };
|
enum blockType_e { bNone, bKnown, bMemory };
|
||||||
|
|||||||
@ -67,7 +67,7 @@
|
|||||||
#ifdef EXV_ENABLE_BMFF
|
#ifdef EXV_ENABLE_BMFF
|
||||||
namespace Exiv2 {
|
namespace Exiv2 {
|
||||||
static bool enabled = false;
|
static bool enabled = false;
|
||||||
EXIV2API bool enableBMFF(bool enable) {
|
bool enableBMFF(bool enable) {
|
||||||
enabled = enable;
|
enabled = enable;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -800,7 +800,7 @@ bool isBmffType(BasicIo& iIo, bool advance) {
|
|||||||
} // namespace Exiv2
|
} // namespace Exiv2
|
||||||
#else // ifdef EXV_ENABLE_BMFF
|
#else // ifdef EXV_ENABLE_BMFF
|
||||||
namespace Exiv2 {
|
namespace Exiv2 {
|
||||||
EXIV2API bool enableBMFF(bool) {
|
bool enableBMFF(bool) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} // namespace Exiv2
|
} // namespace Exiv2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user