pmake/src/pmake.h

26 lines
423 B
C
Raw Normal View History

2026-05-08 02:59:11 +09:00
#ifndef __PMAKE_H__
#define __PMAKE_H__
2026-05-08 05:18:35 +09:00
#include "config.h"
2026-05-08 02:59:11 +09:00
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <duktape.h>
#include <stb_ds.h>
2026-05-08 05:18:35 +09:00
#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);
2026-05-08 02:59:11 +09:00
#endif