diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-11-11 14:05:59 -0500 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-11-11 14:05:59 -0500 |
| commit | 75c8828d804f45cf8f44af73bfe87e0f3eaf9a9e (patch) | |
| tree | 2fdf51906d2517bbe8c928fc52f95bb2e0dda4f9 /include/kpl/class.h | |
| parent | 7b9204a8680539bc4795a14f3d9a34e47981d0c3 (diff) | |
run a task test
Diffstat (limited to 'include/kpl/class.h')
| -rw-r--r-- | include/kpl/class.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/kpl/class.h b/include/kpl/class.h index d1c836e..8cb05da 100644 --- a/include/kpl/class.h +++ b/include/kpl/class.h @@ -19,11 +19,17 @@ typedef void kpl_interface_native_free_fn(kpl_object_native *object_native); */ typedef void kpl_interface_log_fn(kpl_thread *thread, void *object); +/* + * `copy operator + */ +typedef kpl_value64 kpl_interface_copy_fn(kpl_thread *thread_from, kpl_thread *thread_to, kpl_value64 object); + typedef struct { // TODO kpl_interface_gc_mark_object_fn *gc_mark_object_fn; kpl_interface_native_free_fn *native_free_fn; kpl_interface_log_fn *log_fn; + kpl_interface_copy_fn *copy_fn; } kpl_interface; typedef struct { |
