diff options
| author | Nakidai <nakidai@disroot.org> | 2025-03-24 21:01:37 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-03-24 21:01:37 +0300 |
| commit | f312b357ab2ec3cf83a67945f3641b964a59e8d2 (patch) | |
| tree | 425f3371eee770f64e268e9964dba29ad17bd410 /cccl.c | |
| parent | ad9d6a199db7c28f8b20f131dfb55a26e0e251de (diff) | |
| download | 3cl-f312b357ab2ec3cf83a67945f3641b964a59e8d2.tar.gz 3cl-f312b357ab2ec3cf83a67945f3641b964a59e8d2.zip | |
Add code
Diffstat (limited to 'cccl.c')
| -rw-r--r-- | cccl.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cccl.c b/cccl.c new file mode 100644 index 0000000..58301f5 --- /dev/null +++ b/cccl.c @@ -0,0 +1,13 @@ +#include "cccl.h" + +#include <stddef.h> +#include <stdio.h> + + +void cccl(struct cccl_File file) +{ + struct cccl_Token tokens[TOKENS_LIMIT]; + + size_t tokens_amount = tokenize(file.buffer, file.size, tokens, TOKENS_LIMIT); + printf("Read: %lu\n", tokens_amount); +} |