Files
cell/source/script.h
John Alanbrook e86138ec00
Some checks failed
Build and Deploy / build-linux (push) Successful in 1m20s
Build and Deploy / build-windows (CLANG64) (push) Failing after 10m58s
Build and Deploy / package-dist (push) Has been cancelled
Build and Deploy / deploy-itch (push) Has been cancelled
Build and Deploy / deploy-gitea (push) Has been cancelled
multirheading mailboxes fixed
2025-03-11 20:34:39 -05:00

17 lines
378 B
C

#ifndef SCRIPT_H
#define SCRIPT_H
#include "quickjs.h"
#include <SDL3/SDL.h>
extern SDL_TLSID on_exception;
void script_startup(int argc, char **argv);
void script_stop(JSContext*);
void script_evalf(JSContext *js, const char *format, ...);
JSValue script_eval(JSContext *js, const char *file, const char *script);
void uncaught_exception(JSContext *js, JSValue v);
#endif