8 lines
166 B
Plaintext
8 lines
166 B
Plaintext
(defvar &mut staticCount 0)
|
|
(defvar &mut instanceCount 0)
|
|
|
|
(defmethod new []
|
|
(once
|
|
(+= staticCount 1))
|
|
(oncePerInstance
|
|
(+= instanceCount 1))) |