Commit 52c20e41 authored by Niels Möller's avatar Niels Möller
Browse files

(make-class): Added FIXME:-comment about


Rev: src/scm/gaba.scm:1.13
parent 7b0eac53
......@@ -375,6 +375,9 @@
(c-address (c-append super "_class"))
(c-string name)
;; FIXME: For classes using var-array,
;; we should emit offsetof(struct <name>, <last-var>)
;; instead of sizeof.
(c-call* "sizeof" (c-append "struct " name))
(if mark (c-append "do_" name "_mark") "NULL")
(if free (c-append "do_" name "_free") "NULL"))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment