Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

Commit fccafe2

Browse files
committed
v0.1.2
1 parent 34c7283 commit fccafe2

5 files changed

Lines changed: 8 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
## 0.1.0
1+
## 0.1.2
2+
3+
* [Fix] Remove unused variables and update preparations for package uploads
4+
## 0.1.1
25

36
* [Fix] Fixed a memory leak on some devices
47

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ packages:
156156
path: ".."
157157
relative: true
158158
source: path
159-
version: "0.1.1"
159+
version: "0.1.2"
160160
flutter_plugin_android_lifecycle:
161161
dependency: transitive
162162
description:

lib/src/pixelmatching_bindings.dart

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,4 @@ class PixelMatchingBindings {
133133
late final _disposePtr =
134134
_lookup<ffi.NativeFunction<ffi.Void Function()>>('dispose');
135135
late final _dispose = _disposePtr.asFunction<void Function()>();
136-
}
137-
138-
const int __bool_true_false_are_defined = 1;
139-
140-
const int true1 = 1;
141-
142-
const int false1 = 0;
136+
}

lib/src/pixelmatching_client.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ class _PixelMatchingClient {
135135
_imageBufferSize = bytes.length;
136136
_imageBuffer ??= malloc.allocate<Uint8>(_imageBufferSize);
137137
_imageType ??= imageType.toNativeUtf8();
138+
_imageTypeString = imageType;
138139

139140
// 이미지 내용 복사
140141
var imageBufferList = _imageBuffer!.asTypedList(_imageBufferSize);
@@ -151,9 +152,7 @@ class _PixelMatchingClient {
151152
imglib.Image? getMarkerQueryDifferenceImage() {
152153
_debugImageLen ??= malloc.allocate<Int>(1);
153154
_debugImageLen?.value = 0;
154-
print("getMarkerQueryDifferenceImage len: ${_debugImageLen?.value}");
155155
final imgPointer = _native.getMarkerQueryDifferenceImage(_debugImageLen!);
156-
print("getMarkerQueryDifferenceImage len: ${_debugImageLen?.value}");
157156
if (imgPointer.address == nullptr.address) {
158157
return null;
159158
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_pixelmatching
22
description: Module to perform feature matching using OpenCV
3-
version: 0.1.1
3+
version: 0.1.2
44
homepage: https://github.com/lowapple/flutter_pixelmatching
55

66
environment:

0 commit comments

Comments
 (0)