mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
programmable logic array GUI mockup
This commit is contained in:
@@ -90,11 +90,11 @@ internal class UnsafePtr(pointer: Long, allocSize: Long) {
|
|||||||
|
|
||||||
fun destroy() {
|
fun destroy() {
|
||||||
if (!destroyed) {
|
if (!destroyed) {
|
||||||
UnsafeHelper.unsafe.freeMemory(ptr)
|
|
||||||
|
|
||||||
println("[UnsafePtr] Destroying pointer $this; called from:")
|
println("[UnsafePtr] Destroying pointer $this; called from:")
|
||||||
printStackTrace(this)
|
printStackTrace(this)
|
||||||
|
|
||||||
|
UnsafeHelper.unsafe.freeMemory(ptr)
|
||||||
|
|
||||||
destroyed = true
|
destroyed = true
|
||||||
|
|
||||||
UnsafeHelper.unsafeAllocatedSize -= size
|
UnsafeHelper.unsafeAllocatedSize -= size
|
||||||
|
|||||||
BIN
work_files/UI/combinatory_logic_block_gui.kra
LFS
Normal file
BIN
work_files/UI/combinatory_logic_block_gui.kra
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user