summaryrefslogtreecommitdiff
path: root/docs/language/operators.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/language/operators.md')
-rw-r--r--docs/language/operators.md26
1 files changed, 25 insertions, 1 deletions
diff --git a/docs/language/operators.md b/docs/language/operators.md
index 85ca162..2b843ec 100644
--- a/docs/language/operators.md
+++ b/docs/language/operators.md
@@ -8,9 +8,17 @@
## Cast `$`
+```c
+typedef kpl_result kpl_interface_cast(kpl_type to, const kpl_any from);
+```
+
## ``log`
-Configurable logger, output format and destination can be changed
+Configurable logger, destination can be changed
+
+```c
+typedef void kpl_interface_log(kpl_type type, const kpl_any any, const FILE *file, int32_t idnt, uint32_t options);
+```
## ``debugger`
@@ -20,6 +28,8 @@ Configurable logger, output format and destination can be changed
Thread_id `unique I32
```
+## ``thread_count`
+
## ``format`
```text
@@ -58,6 +68,10 @@ WHITE
`#NAME#NAME#` use single `#` to apply multiple colors at once
+```c
+typedef kpl_result kpl_interface_format(const kpl_buffer *format, [const kpl_any]..., NULL);
+```
+
## ``panic`
Stops execution and prints `Any` to `stdout`
@@ -73,3 +87,13 @@ Stops execution and prints `Any` to `stdout`
## ``async_type`
## ``copy`
+
+```c
+typedef kpl_result kpl_interface_copy(const kpl_any any);
+```
+
+## ``hash`
+
+```c
+typedef uint64_t kpl_interface_hash(const kpl_any any);
+```