tildefriends/src/ssb.js.h

20 lines
314 B
C

#pragma once
/**
** \defgroup ssb_js SSB Interface
** Exposes SSB to JS.
** @{
*/
/** A JS context. */
typedef struct JSContext JSContext;
/** An SSB instance. */
typedef struct _tf_ssb_t tf_ssb_t;
/**
** Register the SSB script interface.
*/
void tf_ssb_register(JSContext* context, tf_ssb_t* ssb);
/** @} */