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

📄 string.h

📁 使用BorlandC++4.5编译的一个MUD客户端程序
💻 H
字号:
head	2.1;access;symbols;locks; strict;comment	@ * @;2.1date	95.10.24.15.46.14;	author tsurace;	state Release;branches;next	1.1;1.1date	95.10.12.20.55.33;	author tsurace;	state Beta;branches;next	;desc@String types.@2.1log@Roll.@text@/* string.h: String types */
/* $Id: string.h 1.1 1995/10/12 20:55:33 tsurace Beta tsurace $ */

typedef struct cstr	Cstr;
typedef struct string	String;
typedef struct rstr	Rstr;
typedef struct istr	Istr;

/* Counted string */
struct cstr {
	char *s;	/* Text	  */
	int l;		/* Length */
};

/* Stretchybuffer */
struct string {
	Cstr c;		/* Contents */
	int sz;		/* Space allocated */
};

/* Keeps track of physical representation of strings */
struct rstr {
	String str;	/* Contents */
	int refs;	/* Number of istrs pointing to it */
};

/* Keeps track of interpreter copies of strings */
struct istr {
	Rstr *rs;	/* Physical copy */
	int refs;	/* Number of dframes pointing to it */
};

@1.1log@Initial revision@text@d2 1a2 1/* $Id$ */@

⌨️ 快捷键说明

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