First embed hdr version
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
#ifndef NNTRAC_EMBED_H
|
||||||
|
#define NNTRAC_EMBED_H
|
||||||
|
|
||||||
|
/* Embeddable header for nntrac runtime */
|
||||||
|
/* Created by Luxferre in 2023, released into public domain */
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
/* required definitions */
|
||||||
|
|
||||||
|
enum NNT_MARKERS { /* various markers: 248 to 255 never occur in UTF-8 */
|
||||||
|
NNT_AFST=-8, /* active function start */
|
||||||
|
NNT_NFST, /* neutral function start */
|
||||||
|
NNT_EOF, /* end of function */
|
||||||
|
NNT_ADEL, /* argument delimiter */
|
||||||
|
NNT_SEGGAP /* segment gap character */
|
||||||
|
};
|
||||||
|
static const char NNT_ADEL_S[2] = {NNT_ADEL, 0};
|
||||||
|
|
||||||
|
/* available API function prototypes */
|
||||||
|
|
||||||
|
void nnt_init();
|
||||||
|
void nnt_regprimitive(const char *, void *);
|
||||||
|
void nnt_proc(char *, unsigned int);
|
||||||
|
void nnt_finish();
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user