Files
mop3/ce/interp.h
kamkow1 9f216ffc49
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 36s
Build documentation / build-and-deploy (push) Successful in 1m23s
CE Implement positional arguments
2026-04-12 22:05:26 +02:00

27 lines
437 B
C

#ifndef _INTERP_H
#define _INTERP_H
#include "context.h"
#include "parser.h"
#include <list.h>
#include <stdbool.h>
#define POSVAR_MAX 64
struct posvar {
char buf[0x80];
};
void execute (struct ast_node* root, struct context* context, bool run_bg);
bool interp_is_running (void);
void interp_shutdown (void);
extern bool interactive_mode;
extern struct posvar posvars[POSVAR_MAX];
extern int posvar_count;
#endif // _INTERP_H