remove qjs_wota

This commit is contained in:
2025-11-30 20:30:57 -06:00
parent 4b5ceb4c02
commit c88d551cad
7 changed files with 2 additions and 26 deletions

View File

@@ -316,7 +316,6 @@ cell = custom_target('cell',
install_headers('source/cell.h', 'source/jsffi.h')
install_headers('source/quickjs.h')
install_headers('source/wota.h')
install_headers('source/qjs_wota.h')
tests = [
'spawn_actor',

View File

@@ -28,10 +28,6 @@
#define WOTA_IMPLEMENTATION
#include "wota.h"
#include "qjs_wota.h"
#define BLOB_IMPLEMENTATION
#include "blob.h"
#define STB_DS_IMPLEMENTATION
#include "stb_ds.h"

View File

@@ -110,9 +110,8 @@ JSValue bool2js(JSContext *js, int b);
double js2number(JSContext *js, JSValue v);
JSValue number2js(JSContext *js, double g);
void *js2wota(JSContext *js, JSValue v);
JSValue wota2js(JSContext *js, void *v);
JSValue wota2value(JSContext *js, void *v);
void *value2wota(JSContext *js, JSValue v, JSValue replacer, size_t *bytes);
// Macros to help with creating scripts
#define MIST_CFUNC_DEF(name, length, func1, props) { name, props, JS_DEF_CFUNC, 0, .u = { .func = { length, JS_CFUNC_generic, { .generic = func1 } } } }

View File

@@ -12,8 +12,6 @@
#include <stdint.h>
#include "cell.h"
#include "qjs_wota.h"
#if defined(_WIN32)
#include <windows.h>
#else

View File

@@ -1,8 +1,5 @@
#include "qjs_actor.h"
#include "qjs_wota.h"
#include "cell.h"
#include <SDL3/SDL.h>
#include <stdlib.h>
#include <string.h>

View File

@@ -1,4 +1,3 @@
#include "qjs_wota.h"
#include "cell.h"
#include "wota.h"

View File

@@ -1,12 +0,0 @@
#ifndef QJS_WOTA_H
#define QJS_WOTA_H
#include "cell.h"
#include "wota.h"
JSValue js_wota_use(JSContext*);
void *value2wota(JSContext*, JSValue val, JSValue replacer, size_t *bytes);
JSValue wota2value(JSContext*, void*);
#endif