diff options
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 { |
