forked from pyrite-dev/pmake
progress
This commit is contained in:
parent
a56ddf5007
commit
fcc88de8d3
10 changed files with 192 additions and 7 deletions
15
src/pmake.h
15
src/pmake.h
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue