]> gcc.gnu.org Git - gcc.git/blame - gcc/java/xref.h
Make-lang.in, [...]: Replace "GNU CC" with "GCC" in the copyright header.
[gcc.git] / gcc / java / xref.h
CommitLineData
235acd35 1/* Definitions for the cross reference backend xref.c
f309ff0a 2 Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
235acd35
APB
3 Contributed by Alexandre Petit-Bianco (apbianco@cygnus.com)
4
f309ff0a 5This file is part of GCC.
235acd35 6
f309ff0a 7GCC is free software; you can redistribute it and/or modify
235acd35
APB
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
f309ff0a 12GCC is distributed in the hope that it will be useful,
235acd35
APB
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
f309ff0a 18along with GCC; see the file COPYING. If not, write to
235acd35
APB
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA.
21
22Java and all Java-based marks are trademarks or registered trademarks
23of Sun Microsystems, Inc. in the United States and other countries.
24The Free Software Foundation is independent of Sun Microsystems, Inc. */
25
26/* Exported functions. */
df32d2ce
KG
27int xref_flag_value PARAMS ((const char *));
28void expand_xref PARAMS ((tree));
29void xref_set_data PARAMS ((int, void *));
30void *xref_get_data PARAMS ((int));
31void xref_set_current_fp PARAMS ((FILE *));
235acd35
APB
32
33/* flag_emit_xref range of possible values. */
34
35enum {
a3f406ce 36 XREF_NONE = 0
235acd35
APB
37};
38
39/* Lookup table to be used with the value of flag_emit_xref */
40
41typedef struct {
42 char *key; /* Activator in -fxref=<key> */
df32d2ce 43 void (*expand) PARAMS ((FILE *, tree)); /* Function to write xrefs out */
235acd35 44 FILE *fp; /* fp to use during the call. */
e8fc7396 45 void *data; /* Placeholder for additional data */
235acd35 46} xref_flag_table;
e8fc7396 47
ce6e9147 48#define XREF_GET_DATA(FLAG, T) ((T)xref_get_data (FLAG))
This page took 1.105672 seconds and 5 git commands to generate.