From 2abf5178e4957c18ee9f83490eff5e4135199ff1 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Mon, 31 Mar 2025 17:05:36 +0300 Subject: Some style improvments - Rename readfile to allocfile (as it actually contains cccl_allocfile function) - Add cccl_ prefix for functions defined in str.c --- cccl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cccl.h') diff --git a/cccl.h b/cccl.h index eb08298..de67e5e 100644 --- a/cccl.h +++ b/cccl.h @@ -101,8 +101,8 @@ struct cccl_Node *cccl_parse(struct cccl_Token tokens[], size_t tokens_length, e enum cccl_ExecutorStatus cccl_execute(struct cccl_Node *code, struct cccl_Variables *scope, size_t depth); void cccl_dump(FILE *f); -const char *strtoken(enum cccl_TokenType type); -const char *strnode(enum cccl_NodeType type); -const char *strstatus(enum cccl_ExecutorStatus status); +const char *cccl_strtoken(enum cccl_TokenType type); +const char *cccl_strnode(enum cccl_NodeType type); +const char *cccl_strstatus(enum cccl_ExecutorStatus status); #endif /* __CCCL_H__ */ -- cgit 1.4.1