mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-28 05:12:34 +00:00
re-add RXingResultPointCallback for backwards-compat
This commit is contained in:
@@ -38,6 +38,9 @@ pub use encode_hints::*;
|
|||||||
/// point in the barcode image such as a corner) is found.
|
/// point in the barcode image such as a corner) is found.
|
||||||
pub type PointCallback = Rc<dyn Fn(&dyn ResultPoint)>;
|
pub type PointCallback = Rc<dyn Fn(&dyn ResultPoint)>;
|
||||||
|
|
||||||
|
/** Temporary type to ease refactoring and keep backwards-compatibility */
|
||||||
|
pub type RXingResultPointCallback = PointCallback;
|
||||||
|
|
||||||
mod decode_hints;
|
mod decode_hints;
|
||||||
pub use decode_hints::*;
|
pub use decode_hints::*;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user