This commit is contained in:
Nishi 2026-05-08 05:18:35 +09:00
commit fcc88de8d3
Signed by: nishi
GPG key ID: 27EF69B208EB9343
10 changed files with 192 additions and 7 deletions

View file

@ -1,6 +1,8 @@
#ifndef __PMAKE_H__
#define __PMAKE_H__
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -8,4 +10,17 @@
#include <duktape.h>
#include <stb_ds.h>
#define LOAD(name) \
extern unsigned char name[]; \
extern unsigned int name ## _len;
#define X(name) LOAD(compiler_ ## name)
COMPILERS;
#undef X
/* js.c */
extern duk_context* js_context;
int js_init(int argc, char** argv);
void js_uninit(void);
#endif