Some checks failed
Build and Deploy / package-dist (push) Blocked by required conditions
Build and Deploy / deploy-itch (push) Blocked by required conditions
Build and Deploy / deploy-gitea (push) Blocked by required conditions
Build and Deploy / build-linux (push) Failing after 55s
Build and Deploy / build-windows (CLANG64) (push) Failing after 10m50s
17 lines
332 B
C
17 lines
332 B
C
#ifndef SCRIPT_H
|
|
#define SCRIPT_H
|
|
|
|
#include "quickjs.h"
|
|
#include <SDL3/SDL.h>
|
|
|
|
extern SDL_TLSID on_exception;
|
|
|
|
void script_startup();
|
|
void script_stop();
|
|
|
|
void script_evalf(const char *format, ...);
|
|
JSValue script_eval(JSContext *js, const char *file, const char *script);
|
|
void uncaught_exception(JSContext *js, JSValue v);
|
|
|
|
#endif
|