remake  4.3+dbg-1.5
file2line.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2004, 2005, 2007, 2008, 2009, 2011 R. Bernstein
3 <rocky@gnu.org>
4 This file is part of GNU Make (remake variant).
5 
6 GNU Make is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10 
11 GNU Make is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with GNU Make; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20 #ifndef REMAKE_FILE2LINE
21 #define REMAKE_FILE2LINE
23 
24 typedef enum {
27 } f2l_entry_t;
28 
29 
30 typedef struct lineo_array_s
31 {
32  const char *hname;
33  unsigned int size;
35  void **array;
37 
42 extern bool file2lines_init(void);
43 extern file_t *target_for_file_and_line (const char *psz_filename,
44  unsigned int lineno,
45  /*out*/ f2l_entry_t *entry_type);
46 extern void file2lines_dump(void);
47 #endif
48 
49 /*
50  * Local variables:
51  * eval: (c-set-style "gnu")
52  * indent-tabs-mode: nil
53  * End:
54  */
file_t * target_for_file_and_line(const char *psz_filename, unsigned int lineno, f2l_entry_t *entry_type)
unsigned int size
Definition: file2line.h:33
struct hash_table file2lines
Definition: file2line.h:22
Definition: file2line.h:30
f2l_entry_t
Definition: file2line.h:24
Definition: file2line.h:25
struct lineo_array_s lineno_array_t
const char * hname
Definition: file2line.h:32
void file2lines_dump(void)
f2l_entry_t * type
Definition: file2line.h:34
void ** array
Definition: file2line.h:35
Definition: file2line.h:26
bool file2lines_init(void)
Definition: hash.h:41
Definition: filedef.h:34