exp2l: Work around a NetBSD 10.0/i386 bug.
[gnulib.git] / lib / csharpcomp.h
blob1bad3d7c482b8f9823738cf15f71f9974a1aacac
1 /* Compile a C# program.
2 Copyright (C) 2003, 2009-2024 Free Software Foundation, Inc.
3 Written by Bruno Haible <bruno@clisp.org>, 2003.
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 3 of the License, or
8 (at your option) any later version.
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.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <https://www.gnu.org/licenses/>. */
18 #ifndef _CSHARPCOMP_H
19 #define _CSHARPCOMP_H
21 /* Compile a set of C# source files to bytecode.
22 sources is an array of source file names, including resource files.
23 libdirs is a list of directories to be searched for libraries.
24 libraries is a list of libraries on which the program depends.
25 output_file is the name of the output file; it should end in .exe or .dll.
26 If verbose, the command to be executed will be printed.
27 Return false if OK, true on error. */
28 extern bool compile_csharp_class (const char * const *sources,
29 unsigned int sources_count,
30 const char * const *libdirs,
31 unsigned int libdirs_count,
32 const char * const *libraries,
33 unsigned int libraries_count,
34 const char *output_file,
35 bool optimize, bool debug,
36 bool verbose);
38 #endif /* _CSHARPCOMP_H */