tildefriends/src/socket.js.h

16 lines
246 B
C

#pragma once
/**
** \defgroup socket_js Socket Interface
** Exposes network sockets to script.
** @{
*/
#include "quickjs.h"
JSValue tf_socket_register(JSContext* context);
int tf_socket_get_count();
int tf_socket_get_open_count();
/** @} */