root/maint/gnulib/lib/csharpcomp.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* Compile a C# program.
   2    Copyright (C) 2003, 2009-2021 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 3 of the License, or
   8    (at your option) 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, see <https://www.gnu.org/licenses/>.  */
  17 
  18 #ifndef _CSHARPCOMP_H
  19 #define _CSHARPCOMP_H
  20 
  21 #include <stdbool.h>
  22 
  23 /* Compile a set of C# source files to bytecode.
  24    sources is an array of source file names, including resource files.
  25    libdirs is a list of directories to be searched for libraries.
  26    libraries is a list of libraries on which the program depends.
  27    output_file is the name of the output file; it should end in .exe or .dll.
  28    If verbose, the command to be executed will be printed.
  29    Return false if OK, true on error.  */
  30 extern bool compile_csharp_class (const char * const *sources,
  31                                   unsigned int sources_count,
  32                                   const char * const *libdirs,
  33                                   unsigned int libdirs_count,
  34                                   const char * const *libraries,
  35                                   unsigned int libraries_count,
  36                                   const char *output_file,
  37                                   bool optimize, bool debug,
  38                                   bool verbose);
  39 
  40 #endif /* _CSHARPCOMP_H */

/* [previous][next][first][last][top][bottom][index][help] */