comparison dmd/root/root.h @ 1640:9bf06e02070b

Merge DMD 1.057.
author Christian Kamm <kamm incasoftware de>
date Mon, 08 Mar 2010 21:39:20 +0100
parents 229e02867307
children
comparison
equal deleted inserted replaced
1639:41145d30acb8 1640:9bf06e02070b
1 1
2 2
3 // Copyright (c) 1999-2006 by Digital Mars 3 // Copyright (c) 1999-2010 by Digital Mars
4 // All Rights Reserved 4 // All Rights Reserved
5 // written by Walter Bright 5 // written by Walter Bright
6 // www.digitalmars.com 6 // http://www.digitalmars.com
7 // License for redistribution is by either the Artistic License 7 // License for redistribution is by either the Artistic License
8 // in artistic.txt, or the GNU General Public License in gnu.txt. 8 // in artistic.txt, or the GNU General Public License in gnu.txt.
9 // See the included readme.txt for details. 9 // See the included readme.txt for details.
10 10
11 #ifndef ROOT_H 11 #ifndef ROOT_H
154 static FileName *forceExt(const char *name, const char *ext); 154 static FileName *forceExt(const char *name, const char *ext);
155 int equalsExt(const char *ext); 155 int equalsExt(const char *ext);
156 156
157 void CopyTo(FileName *to); 157 void CopyTo(FileName *to);
158 static char *searchPath(Array *path, const char *name, int cwd); 158 static char *searchPath(Array *path, const char *name, int cwd);
159 static char *safeSearchPath(Array *path, const char *name);
159 static int exists(const char *name); 160 static int exists(const char *name);
160 static void ensurePathExists(const char *path); 161 static void ensurePathExists(const char *path);
162 static char *canonicalName(const char *name);
161 }; 163 };
162 164
163 struct File : Object 165 struct File : Object
164 { 166 {
165 int ref; // != 0 if this is a reference to someone else's buffer 167 int ref; // != 0 if this is a reference to someone else's buffer