1/* Compile a C# program. 2 Copyright (C) 2003 Free Software Foundation, Inc. 3 Written by Bruno Haible <bruno@clisp.org>, 2003. 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2, or (at your option) 8 any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software Foundation, 17 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 18 19#ifndef _CSHARPCOMP_H 20#define _CSHARPCOMP_H 21 22#include <stdbool.h> 23 24/* Compile a set of C# source files to bytecode. 25 sources is an array of source file names, including resource files. 26 libdirs is a list of directories to be searched for libraries. 27 libraries is a list of libraries on which the program depends. 28 output_file is the name of the output file; it should end in .exe or .dll. 29 If verbose, the command to be executed will be printed. 30 Return false if OK, true on error. */ 31extern bool compile_csharp_class (const char * const *sources, 32 unsigned int sources_count, 33 const char * const *libdirs, 34 unsigned int libdirs_count, 35 const char * const *libraries, 36 unsigned int libraries_count, 37 const char *output_file, 38 bool optimize, bool debug, 39 bool verbose); 40 41#endif /* _CSHARPCOMP_H */ 42