diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-11-01 10:07:03 -0500 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-11-01 10:07:03 -0500 |
| commit | 9a61168aec3373be702bdbf252043ce3605f2b5b (patch) | |
| tree | 49078373733f1eb4294569cede513aa7f82b94f0 /include/kpl/class.h | |
| parent | fcc5294b919856ff04fef859760d48d0da136396 (diff) | |
add basic gc test
Diffstat (limited to 'include/kpl/class.h')
| -rw-r--r-- | include/kpl/class.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/kpl/class.h b/include/kpl/class.h index 5957a98..0842db2 100644 --- a/include/kpl/class.h +++ b/include/kpl/class.h @@ -1,11 +1,17 @@ /* - * The kpl class a 64bit value with an table of functions + * The kpl class a 64bit value with a table of functions */ #pragma once +/* + * How to traverse the object and mark kpl_object_gc + */ +typedef void kpl_interface_gc_mark_object_fn(void *object); + typedef struct { -// TODO KPL INTERFACE + // TODO + kpl_interface_gc_mark_object_fn *gc_mark_object_fn; } kpl_interface; typedef struct { |
