All but the two biggest .h files have docs.

This commit is contained in:
2024-03-06 12:31:17 -05:00
parent 794804e27f
commit e3c7c86212
3 changed files with 57 additions and 0 deletions

View File

@ -8,8 +8,23 @@
#include "quickjs.h"
/**
** Register the socket script interface.
** @param context The JS context.
** @return The Socket constructor.
*/
JSValue tf_socket_register(JSContext* context);
/**
** Get the number of active socket objects.
** @return The count.
*/
int tf_socket_get_count();
/**
** Get the number of connected socket objects.
** @return the count.
*/
int tf_socket_get_open_count();
/** @} */