Version bump.
[geany-mirror.git] / tagmanager / get.h
bloba34e33bf01e37005e7065955f5f0a86bfb40738b
1 /*
2 * $Id$
4 * Copyright (c) 1998-2002, Darren Hiebert
6 * This source code is released for free distribution under the terms of the
7 * GNU General Public License.
9 * External interface to get.c
11 #ifndef _GET_H
12 #define _GET_H
15 * INCLUDE FILES
17 #include "general.h" /* must always come first */
19 #include "ctags.h" /* to define langType */
22 * MACROS
24 /* Is the character valid as a character of a C identifier?
25 * VMS allows '$' in identifiers.
27 #define isident(c) (isalnum(c) || (c) == '_' || (c) == '$')
29 /* Is the character valid as the first character of a C identifier?
30 * C++ allows '~' in destructors.
31 * VMS allows '$' in identifiers.
32 * Vala allows '@' in identifiers.
34 #define isident1(c) (isalpha(c) || (c) == '_' || (c) == '~' || (c) == '$' || (c) == '@')
37 * FUNCTION PROTOTYPES
39 extern boolean isBraceFormat (void);
40 extern unsigned int getDirectiveNestLevel (void);
41 extern void cppInit (const boolean state, const boolean hasAtLiteralStrings);
42 extern void cppTerminate (void);
43 extern void cppBeginStatement (void);
44 extern void cppEndStatement (void);
45 extern void cppUngetc (const int c);
46 extern int cppGetc (void);
47 extern int skipOverCComment (void);
48 extern char *getArglistFromFilePos(fpos_t startPosition, const char *tokenName);
49 extern char *getArglistFromBufferPos(int startPosition, const char *tokenName);
50 extern char *getArglistFromStr(char *buf, const char *name);
52 #endif /* _GET_H */
54 /* vi:set tabstop=4 shiftwidth=4: */