comparison place.h @ 8:97243badae69

split place stuff to its own file
author David A. Holland
date Sun, 19 Dec 2010 19:15:55 -0500
parents
children 800f3a560a3b
comparison
equal deleted inserted replaced
7:b8167949474a 8:97243badae69
1 struct place {
2 struct seenfile *file;
3 unsigned line;
4 unsigned column;
5 };
6
7 struct place *place_gettemporary(void);
8 void place_puttemporary(struct place *p);
9 struct place *place_create(void);
10 struct place *place_clone(const struct place *p);
11 void place_destroy(struct place *);
12 void place_setnowhere(struct place *p);
13 void place_setbuiltin(struct place *p, unsigned num);
14 void place_setcommandline(struct place *p, unsigned column);
15
16 /* in files.c */
17 const char *seenfile_getname(const struct seenfile *file);
18 const struct place *seenfile_getincludeplace(const struct seenfile *file);