phobos 1.016

This commit is contained in:
Brad Roberts 2007-09-10 06:28:10 +00:00
parent 9da00b5d10
commit 204f007fef
5 changed files with 65 additions and 88 deletions

View file

@ -80,6 +80,10 @@ else
alias uint hash_t; alias uint hash_t;
} }
alias char[] string;
alias wchar[] wstring;
alias dchar[] dstring;
/* ************************* /* *************************
* Internal struct pointed to by the hidden .monitor member. * Internal struct pointed to by the hidden .monitor member.
*/ */

View file

@ -10,6 +10,10 @@ alias typeof(int.sizeof) size_t;
alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t; alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t;
alias size_t hash_t; alias size_t hash_t;
alias char[] string;
alias wchar[] wstring;
alias dchar[] dstring;
extern (C) extern (C)
{ int printf(char *, ...); { int printf(char *, ...);
} }

View file

@ -8,51 +8,26 @@
* *
* Author: Matthew Wilson * Author: Matthew Wilson
* *
* License: (Licensed under the Synesis Software Standard Source License) * Copyright 2004-2005 by Matthew Wilson and Synesis Software
* Written by Matthew Wilson
* *
* Copyright (C) 2002-2004, Synesis Software Pty Ltd. * This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* *
* All rights reserved. * Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, in both source and binary form, subject to the following
* restrictions:
* *
* www: http://www.synesis.com.au/software * - The origin of this software must not be misrepresented; you must not
* http://www.synsoft.org/ * claim that you wrote the original software. If you use this software
* * in a product, an acknowledgment in the product documentation would be
* email: submissions@synsoft.org for submissions * appreciated but is not required.
* admin@synsoft.org for other enquiries * - Altered source versions must be plainly marked as such, and must not
* * be misrepresented as being the original software.
* Redistribution and use in source and binary forms, with or * - This notice may not be removed or altered from any source
* without modification, are permitted provided that the following * distribution.
* conditions are met:
*
* (i) Redistributions of source code must retain the above
* copyright notice and contact information, this list of
* conditions and the following disclaimer.
*
* (ii) Any derived versions of this software (howsoever modified)
* remain the sole property of Synesis Software.
*
* (iii) Any derived versions of this software (howsoever modified)
* remain subject to all these conditions.
*
* (iv) Neither the name of Synesis Software nor the names of any
* subdivisions, employees or agents of Synesis Software, nor the
* names of any other contributors to this software may be used to
* endorse or promote products derived from this software without
* specific prior written permission.
*
* This source code is provided by Synesis Software "as is" and any
* warranties, whether expressed or implied, including, but not
* limited to, the implied warranties of merchantability and
* fitness for a particular purpose are disclaimed. In no event
* shall the Synesis Software be liable for any direct, indirect,
* incidental, special, exemplary, or consequential damages
* (including, but not limited to, procurement of substitute goods
* or services; loss of use, data, or profits; or business
* interruption) however caused and on any theory of liability,
* whether in contract, strict liability, or tort (including
* negligence or otherwise) arising in any way out of the use of
* this software, even if advised of the possibility of such
* damage.
* *
* ////////////////////////////////////////////////////////////////////////// */ * ////////////////////////////////////////////////////////////////////////// */

View file

@ -1,8 +1,25 @@
// Copyright (c) 2004 by Digital Mars /* Copyright 2004-2005 by Digital Mars
// All Rights Reserved * Written by Walter Bright and Matthew Wilson
// written by Walter Bright and Matthew Wilson (Synesis Software Pty Ltd.) *
// www.digitalmars.com * This software is provided 'as-is', without any express or implied
// www.synesis.com.au/software * warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, in both source and binary form, subject to the following
* restrictions:
*
* - The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* - Altered source versions must be plainly marked as such, and must not
* be misrepresented as being the original software.
* - This notice may not be removed or altered from any source
* distribution.
*
*/
/** /**
* Read and write memory mapped files. * Read and write memory mapped files.

View file

@ -8,51 +8,28 @@
* *
* Author: Matthew Wilson * Author: Matthew Wilson
* *
* License: (Licensed under the Synesis Software Standard Source License) * License:
* *
* Copyright (C) 2002-2004, Synesis Software Pty Ltd. * Copyright 2003-2004 by Matthew Wilson and Synesis Software
* Written by Matthew Wilson
* *
* All rights reserved. * This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* *
* www: http://www.synesis.com.au/software * Permission is granted to anyone to use this software for any purpose,
* http://www.synsoft.org/ * including commercial applications, and to alter it and redistribute it
* freely, in both source and binary form, subject to the following
* restrictions:
* *
* email: submissions@synsoft.org for submissions * - The origin of this software must not be misrepresented; you must not
* admin@synsoft.org for other enquiries * claim that you wrote the original software. If you use this software
* * in a product, an acknowledgment in the product documentation would be
* Redistribution and use in source and binary forms, with or * appreciated but is not required.
* without modification, are permitted provided that the following * - Altered source versions must be plainly marked as such, and must not
* conditions are met: * be misrepresented as being the original software.
* * - This notice may not be removed or altered from any source
* (i) Redistributions of source code must retain the above * distribution.
* copyright notice and contact information, this list of
* conditions and the following disclaimer.
*
* (ii) Any derived versions of this software (howsoever modified)
* remain the sole property of Synesis Software.
*
* (iii) Any derived versions of this software (howsoever modified)
* remain subject to all these conditions.
*
* (iv) Neither the name of Synesis Software nor the names of any
* subdivisions, employees or agents of Synesis Software, nor the
* names of any other contributors to this software may be used to
* endorse or promote products derived from this software without
* specific prior written permission.
*
* This source code is provided by Synesis Software "as is" and any
* warranties, whether expressed or implied, including, but not
* limited to, the implied warranties of merchantability and
* fitness for a particular purpose are disclaimed. In no event
* shall the Synesis Software be liable for any direct, indirect,
* incidental, special, exemplary, or consequential damages
* (including, but not limited to, procurement of substitute goods
* or services; loss of use, data, or profits; or business
* interruption) however caused and on any theory of liability,
* whether in contract, strict liability, or tort (including
* negligence or otherwise) arising in any way out of the use of
* this software, even if advised of the possibility of such
* damage.
* *
* ////////////////////////////////////////////////////////////////////////// */ * ////////////////////////////////////////////////////////////////////////// */