Files
cell/source/script.h
John Alanbrook 847a3ef314
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
threading
2025-03-10 22:49:48 -05:00

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