Files
cell/source/script.h
John Alanbrook 8627fc52ef
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) Successful in 1m15s
Build and Deploy / build-windows (CLANG64) (push) Failing after 11m46s
actors in C now
2025-03-18 18:18:56 -05:00

16 lines
364 B
C

#ifndef SCRIPT_H
#define SCRIPT_H
#include "quickjs.h"
#include <SDL3/SDL.h>
#include "prosperon.h"
void script_startup(prosperon_rt *rt);
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