forked from cory/tildefriends
19 lines
322 B
C
19 lines
322 B
C
#pragma once
|
|
|
|
/**
|
|
** \defgroup database_js Database Interface
|
|
** Exposes a key-value store interface to script.
|
|
** @{
|
|
*/
|
|
|
|
/** A JS context. */
|
|
typedef struct JSContext JSContext;
|
|
|
|
/**
|
|
** Register the database script interface.
|
|
** @param context The JS context.
|
|
*/
|
|
void tf_database_register(JSContext* context);
|
|
|
|
/** @} */
|