tildefriends/src/ssb.js.h

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

20 lines
314 B
C
Raw Normal View History

#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);
/** @} */