mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-21 17:13:09 +08:00
Remove unused methods.
This commit is contained in:
parent
29e75d0f51
commit
746b87363b
@ -896,34 +896,20 @@ ELISTIZEH_C.
|
||||
CLASSNAME *data() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::data()); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *data_relative(int8_t offset) { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::data_relative(offset)); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *forward() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::forward()); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *extract() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::extract()); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *move_to_first() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::move_to_first()); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *move_to_last() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::move_to_last()); \
|
||||
} \
|
||||
};
|
||||
|
||||
#define ELISTIZEH(CLASSNAME) \
|
||||
\
|
||||
ELISTIZEH_A(CLASSNAME) \
|
||||
\
|
||||
ELISTIZEH_B(CLASSNAME) \
|
||||
\
|
||||
ELISTIZEH_C(CLASSNAME)
|
||||
|
||||
/***********************************************************************
|
||||
|
@ -915,41 +915,26 @@ ELIST2IZEH_C.
|
||||
CLASSNAME *data() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::data()); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *data_relative(int8_t offset) { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::data_relative(offset)); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *forward() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::forward()); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *backward() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::backward()); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *extract() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::extract()); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *move_to_first() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::move_to_first()); \
|
||||
} \
|
||||
\
|
||||
CLASSNAME *move_to_last() { \
|
||||
return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::move_to_last()); \
|
||||
} \
|
||||
\
|
||||
private: \
|
||||
CLASSNAME##_IT(); \
|
||||
};
|
||||
|
||||
#define ELIST2IZEH(CLASSNAME) \
|
||||
\
|
||||
ELIST2IZEH_A(CLASSNAME) \
|
||||
\
|
||||
ELIST2IZEH_B(CLASSNAME) \
|
||||
\
|
||||
ELIST2IZEH_C(CLASSNAME)
|
||||
|
||||
/***********************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user