forked from mbert/elvis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
misc.h
22 lines (21 loc) · 831 Bytes
/
misc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* misc.h */
/* Copyright 1995 by Steve Kirkendall */
extern CHAR empty[];
extern CHAR blanks[80];
extern char **arglist;
extern int argnext;
BEGIN_EXTERNC
#ifdef DEBUG_ALLOC
# define buildCHAR(ref,ch) _buildCHAR(__FILE__, __LINE__, (ref), (ch))
# define buildstr(ref,str) _buildstr(__FILE__, __LINE__, (ref), (str))
extern int _buildCHAR P_((char *file, int line, CHAR **refstr, _CHAR_ ch));
extern int _buildstr P_((char *file, int line, CHAR **refstr, char *add));
#else
extern int buildCHAR P_((CHAR **refstr, _CHAR_ ch));
extern int buildstr P_((CHAR **refstr, char *add));
#endif
extern MARK wordatcursor P_((MARK cursor, ELVBOOL apostrophe));
extern CHAR *addquotes P_((CHAR *chars, CHAR *str));
extern CHAR *removequotes P_((CHAR *chars, CHAR *str));
extern int CHARncasecmp P_((CHAR *s1, CHAR *s2, int len));
END_EXTERNC