tildefriends/src/tlscontext.js.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
312 B
C
Raw Normal View History

#pragma once
/**
** \defgroup tls_js TLS Interface
** Exposes \ref tls to JS.
** @{
*/
#include "quickjs.h"
typedef struct _tf_tls_context_t tf_tls_context_t;
JSValue tf_tls_context_register(JSContext* context);
tf_tls_context_t* tf_tls_context_get(JSValue value);
int tf_tls_context_get_count();
/** @} */