⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rts.h

📁 一个编译器修改的例子
💻 H
字号:
#ifndef RTS_H#define RTS_H#include "bool.h"#include <stdlib.h>/* This is part of the runtime system. It is linked with the C code * the compiler produces when compiling Asterix source. It is not part * of the compiler itself. */typedef struct{    int	size;		/* Koen: experience tells *never* to use unsigneds */    union {      char	c[1];      int	i[1];      double	d[1];      Bool	b[1];    } 		data;	/* excess data behind this struct */}*array;extern struct strings{    array	a;    const int   s;    const char	*c;}strings [];void	runtime_error(const char *msg);array	new_array(int size, size_t element_size);void	delete_array(array);void	*array_index(array, size_t element_size, int index);int	array_size(array);#endif /* defined RTS_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -