diff options
| author | LLLL Colonq <llll@colonq> | 2026-06-30 14:30:19 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-06-30 14:30:19 -0400 |
| commit | 1c028e3a2250a56eface56ebbb1835d77e4e2579 (patch) | |
| tree | 98ea5da9d75e87f44bb3eb2e153810a6a820f9b6 /include/lcq/pit/runtime/value/nativedata.h | |
| parent | 1d4447bcd888dd0bd20cf4b6dd7f9192145debf0 (diff) | |
Diffstat (limited to 'include/lcq/pit/runtime/value/nativedata.h')
| -rw-r--r-- | include/lcq/pit/runtime/value/nativedata.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/lcq/pit/runtime/value/nativedata.h b/include/lcq/pit/runtime/value/nativedata.h new file mode 100644 index 0000000..f8ffa4e --- /dev/null +++ b/include/lcq/pit/runtime/value/nativedata.h @@ -0,0 +1,12 @@ +#ifndef LCOLONQ_PIT_RUNTIME_VALUE_NATIVEDATA_H +#define LCOLONQ_PIT_RUNTIME_VALUE_NATIVEDATA_H + +#include <lcq/pit/runtime.h> +#include <lcq/pit/runtime/value.h> + +/* heavy value - nativedata */ +bool pit_value_is_nativedata(pit_runtime *rt, pit_value a); +pit_value pit_value_nativedata_new(pit_runtime *rt, pit_value tag, void *d); +void *pit_value_nativedata_get(pit_runtime *rt, pit_value tag, pit_value v); + +#endif |
