+5
-1
lines changedFilter options
+5
-1
lines changed Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
1
1
2
+
* Add public getters for the address fields of `Pointer.NativeDeallocator` ([discussion bytedeco/javacpp-presets#1160](https://github.com/bytedeco/javacpp-presets/discussions/1160))
2
3
* Add support for `std::function` basic container instances with corresponding `FunctionPointer`
3
4
* Fix `Builder` parsing of command line options for platform properties ([issue #564](https://github.com/bytedeco/javacpp/issues/564))
4
5
* Use thread local in `Generator` to detach automatically native threads on exit for Windows as well ([pull #562](https://github.com/bytedeco/javacpp/pull/562))
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (C) 2011-2021 Samuel Audet
2
+
* Copyright (C) 2011-2022 Samuel Audet
3
3
*
4
4
* Licensed either under the Apache License, Version 2.0, or (at your option)
5
5
* under the terms of the GNU General Public License as published by
@@ -223,6 +223,9 @@ protected static class NativeDeallocator extends DeallocatorReference {
223
223
private long ownerAddress;
224
224
private long deallocatorAddress;
225
225
226
+
public long ownerAddress() { return ownerAddress; }
227
+
public long deallocatorAddress() { return deallocatorAddress; }
228
+
226
229
@Override public void deallocate() {
227
230
if (ownerAddress != 0 && deallocatorAddress != 0) {
228
231
deallocate(ownerAddress, deallocatorAddress);
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4