slidescript/src/inc/inset.h

23 lines
512 B
C
Executable File

/*
SlideScript - minimalistic top-down scripting language.
(C) Copyright 2014-2021 Chris Dorman - some rights reserved (GPLv2)
View README file supplied with this software for more details
*/
// Inset backquote buffers
#define MAX_BACKQUOTE_LEN 6144
#define MAX_BQ_BUFSIZE (MAX_BACKQUOTE_LEN + 1)
#define MAX_BQ_FUNCTIONS 16
struct s_bq
{
char function [MAX_BQ_BUFSIZE];
};
typedef struct s_bq BQ;
void s_set_bq(int index, char *function);
int get_bq_count();
char *parse_bq(char *string);