/[ascend]/trunk/base/generic/compiler/redirectFile.h
ViewVC logotype

Annotation of /trunk/base/generic/compiler/redirectFile.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 452 - (hide annotations) (download) (as text)
Wed Apr 5 06:01:25 2006 UTC (14 years, 5 months ago) by johnpye
File MIME type: text/x-chdr
File size: 2484 byte(s)
fixing #ifndef bracket name
1 aw0a 1 /*
2     * File redirection for ascend
3     * by Ben Allan
4     * Version: $Revision: 1.1 $
5     * Version control file: $RCSfile: redirectFile.h,v $
6     * Date last modified: $Date: 2000/01/25 02:26:22 $
7     * Last modified by: $Author: ballan $
8     * Part of Ascend
9     *
10     * This file is part of the Ascend Language Interpreter.
11     *
12     * Copyright (C) 1999 Benjamin A Allan
13     *
14     * The Ascend Language Interpreter is free software; you can redistribute
15     * it and/or modify it under the terms of the GNU General Public License as
16     * published by the Free Software Foundation; either version 2 of the
17     * License, or (at your option) any later version.
18     *
19     * The Ascend Language Interpreter is distributed in hope that it will be
20     * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
21     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22     * General Public License for more details.
23     *
24     * You should have received a copy of the GNU General Public License
25     * along with the program; if not, write to the Free Software Foundation,
26     * Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check the file named
27     * COPYING.
28     *
29     * This module defines the fundamental constants used by the rest of
30     * Ascend and pulls in system headers.
31     * There is not corresponding compiler.c. The variables
32     * declared in this header are defined in ascParse.y.
33     *
34 ben.allan 45 * This header and tcl/tk headers are known to conflict. This header
35 aw0a 1 * should be included AFTER tcl.h or tk.h, not before.
36     */
37    
38 jds 59 /* ChangeLog
39 johnpye 452 *
40 jds 59 * 10/13/2005 Added Asc_RedirectCompilerStreams() (J.D. St.Clair)
41     */
42 johnpye 452
43 jds 54 /** @file
44     * File redirection for ascend.
45     * <pre>
46     * When #including redirectFile.h, make sure these files are #included first:
47     * #include "utilities/ascConfig.h"
48     * </pre>
49     */
50    
51 johnpye 452 #ifndef ASC_REDIRECTFILE_H
52     #define ASC_REDIRECTFILE_H
53 aw0a 1
54 jds 54 extern FILE *g_ascend_errors; /**< File for error messages. Default is stderr. */
55     extern FILE *g_ascend_warnings; /**< File for warning messages. Default is stderr. */
56     extern FILE *g_ascend_information; /**< File for informational messages. Default is stderr. */
57 aw0a 1
58 jds 54 extern void Asc_RedirectCompilerDefault(void);
59     /**< Set the default files/streams to receive ASCEND messages. */
60 aw0a 1
61 jds 59 extern void Asc_RedirectCompilerStreams(FILE *errfile,
62     FILE *warnfile,
63     FILE *infofile);
64     /**< Set specific files/streams to receive ASCEND messages. */
65    
66 johnpye 452 #endif /* ASC_REDIRECTFILE_H*/
67 aw0a 1

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22