Add a Doxyfile and preliminary module-level docs.

This commit is contained in:
2024-02-20 21:41:37 -05:00
parent 17b92126de
commit 450b07fd08
30 changed files with 2868 additions and 0 deletions

View File

@ -1,5 +1,11 @@
#pragma once
/**
** \defgroup file_js File Interface
** Exposes an operating system file I/O API to script.
** @{
*/
#include <uv.h>
typedef struct JSContext JSContext;
@ -9,3 +15,5 @@ void tf_file_register(JSContext* context);
void tf_file_stat(tf_task_t* task, const char* path, void (*callback)(tf_task_t* task, const char* path, int result, const uv_stat_t* stat, void* user_data), void* user_data);
void tf_file_read(tf_task_t* task, const char* path, void (*callback)(tf_task_t* task, const char* path, int result, const void* data, void* user_data), void* user_data);
/** @} */