2002-06-04 18:44:03 +00:00
|
|
|
/*
|
2002-10-22 14:53:18 +00:00
|
|
|
cpp.h
|
2002-06-04 18:44:03 +00:00
|
|
|
|
2002-10-22 14:53:18 +00:00
|
|
|
cpp preprocessing support
|
2002-06-04 18:44:03 +00:00
|
|
|
|
2002-10-22 14:53:18 +00:00
|
|
|
Copyright (C) 2002 Bill Currie <bill@taniwha.org>
|
2002-06-04 18:44:03 +00:00
|
|
|
|
2002-10-22 14:53:18 +00:00
|
|
|
Author: Bill Currie <bill@taniwha.org>
|
|
|
|
Date: 2002/06/04
|
2002-06-04 18:44:03 +00:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to:
|
|
|
|
|
|
|
|
Free Software Foundation, Inc.
|
|
|
|
59 Temple Place - Suite 330
|
|
|
|
Boston, MA 02111-1307, USA
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __cpp_h
|
|
|
|
#define __cpp_h
|
|
|
|
|
2006-05-24 14:35:39 +00:00
|
|
|
struct dstring_s;
|
|
|
|
|
2003-01-06 18:28:13 +00:00
|
|
|
void parse_cpp_name (void);
|
2020-02-18 17:31:16 +00:00
|
|
|
void add_cpp_sysinc (const char *arg);
|
|
|
|
void add_cpp_undef (const char *arg);
|
2002-06-04 18:44:03 +00:00
|
|
|
void add_cpp_def (const char *arg);
|
2006-05-24 14:35:39 +00:00
|
|
|
void intermediate_file (struct dstring_s *ifile, const char *filename,
|
2006-08-20 06:20:30 +00:00
|
|
|
const char *ext, int local);
|
2012-12-04 03:48:52 +00:00
|
|
|
FILE *preprocess_file (const char *filename, const char *ext);
|
2002-06-04 18:44:03 +00:00
|
|
|
extern const char *cpp_name;
|
|
|
|
extern struct dstring_s *tempname;
|
|
|
|
|
|
|
|
#endif//__cpp_h
|