[decomp] memory usage (#945)

* fix type bug for memory-usage

* avoid name conflict in link method and function
This commit is contained in:
water111
2021-10-26 21:14:50 -04:00
committed by GitHub
parent 05d892e4ed
commit 66bd7cb464
15 changed files with 1358 additions and 30 deletions
@@ -47,7 +47,7 @@
(new (symbol type process) _type_ 0)
(get-matching-actor-type-mask (_type_ type) int 9)
(actor-count-before (_type_) int 10)
(link (_type_) entity-actor 11)
(link-to-next-and-prev-actor (_type_) entity-actor 11)
(get-next (_type_) entity-actor 12)
(get-prev (_type_) entity-actor 13)
(get-next-process (_type_) process 14)
@@ -134,7 +134,7 @@
)
;; definition for method 11 of type actor-link-info
(defmethod link actor-link-info ((obj actor-link-info))
(defmethod link-to-next-and-prev-actor actor-link-info ((obj actor-link-info))
(let ((a0-1 (-> obj process entity)))
(set! (-> obj next) (entity-actor-lookup a0-1 'next-actor 0))
)