PageRenderTime 20ms CodeModel.GetById 13ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Source/Swig/swigfile.h

#
C++ Header | 43 lines | 27 code | 3 blank | 13 comment | 0 complexity | d5c90d289d6c455c2ece95c390029438 MD5 | raw file
 1/* ----------------------------------------------------------------------------- 
 2 * This file is part of SWIG, which is licensed as a whole under version 3 
 3 * (or any later version) of the GNU General Public License. Some additional
 4 * terms also apply to certain portions of SWIG. The full details of the SWIG
 5 * license and copyrights can be found in the LICENSE and COPYRIGHT files
 6 * included with the SWIG source code as distributed by the SWIG developers
 7 * and at http://www.swig.org/legal.html.
 8 *
 9 * swigfile.h
10 *
11 * File handling functions in the SWIG core
12 * ----------------------------------------------------------------------------- */
13
14extern List   *Swig_add_directory(const_String_or_char_ptr dirname);
15extern void    Swig_push_directory(const_String_or_char_ptr dirname);
16extern void    Swig_pop_directory(void);
17extern String *Swig_last_file(void);
18extern List   *Swig_search_path(void);
19extern FILE   *Swig_include_open(const_String_or_char_ptr name);
20extern FILE   *Swig_open(const_String_or_char_ptr name);
21extern String *Swig_read_file(FILE *f); 
22extern String *Swig_include(const_String_or_char_ptr name);
23extern String *Swig_include_sys(const_String_or_char_ptr name);
24extern int     Swig_insert_file(const_String_or_char_ptr name, File *outfile);
25extern void    Swig_set_push_dir(int dopush);
26extern int     Swig_get_push_dir(void);
27extern void    Swig_register_filebyname(const_String_or_char_ptr filename, File *outfile);
28extern File   *Swig_filebyname(const_String_or_char_ptr filename);
29extern char   *Swig_file_suffix(const_String_or_char_ptr filename);
30extern char   *Swig_file_basename(const_String_or_char_ptr filename);
31extern char   *Swig_file_filename(const_String_or_char_ptr filename);
32extern char   *Swig_file_dirname(const_String_or_char_ptr filename);
33extern void   Swig_file_debug_set();
34
35/* Delimiter used in accessing files and directories */
36
37#if defined(MACSWIG)
38#  define SWIG_FILE_DELIMITER ":"
39#elif defined(_WIN32)
40#  define SWIG_FILE_DELIMITER "\\"
41#else
42#  define SWIG_FILE_DELIMITER "/"
43#endif