mirror of
https://github.com/dlang/phobos.git
synced 2025-05-13 15:52:41 +03:00
phobos 1.016
This commit is contained in:
parent
9da00b5d10
commit
204f007fef
5 changed files with 65 additions and 88 deletions
|
@ -80,6 +80,10 @@ else
|
|||
alias uint hash_t;
|
||||
}
|
||||
|
||||
alias char[] string;
|
||||
alias wchar[] wstring;
|
||||
alias dchar[] dstring;
|
||||
|
||||
/* *************************
|
||||
* Internal struct pointed to by the hidden .monitor member.
|
||||
*/
|
||||
|
|
4
object.d
4
object.d
|
@ -10,6 +10,10 @@ alias typeof(int.sizeof) size_t;
|
|||
alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t;
|
||||
alias size_t hash_t;
|
||||
|
||||
alias char[] string;
|
||||
alias wchar[] wstring;
|
||||
alias dchar[] dstring;
|
||||
|
||||
extern (C)
|
||||
{ int printf(char *, ...);
|
||||
}
|
||||
|
|
59
std/loader.d
59
std/loader.d
|
@ -8,51 +8,26 @@
|
|||
*
|
||||
* 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
|
||||
* http://www.synsoft.org/
|
||||
*
|
||||
* email: submissions@synsoft.org for submissions
|
||||
* admin@synsoft.org for other enquiries
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or
|
||||
* without modification, are permitted provided that the following
|
||||
* 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.
|
||||
* - 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.
|
||||
*
|
||||
* ////////////////////////////////////////////////////////////////////////// */
|
||||
|
||||
|
|
27
std/mmfile.d
27
std/mmfile.d
|
@ -1,8 +1,25 @@
|
|||
// Copyright (c) 2004 by Digital Mars
|
||||
// All Rights Reserved
|
||||
// written by Walter Bright and Matthew Wilson (Synesis Software Pty Ltd.)
|
||||
// www.digitalmars.com
|
||||
// www.synesis.com.au/software
|
||||
/* Copyright 2004-2005 by Digital Mars
|
||||
* Written by Walter Bright and Matthew Wilson
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 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.
|
||||
|
|
|
@ -8,51 +8,28 @@
|
|||
*
|
||||
* 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
|
||||
* http://www.synsoft.org/
|
||||
* 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:
|
||||
*
|
||||
* email: submissions@synsoft.org for submissions
|
||||
* admin@synsoft.org for other enquiries
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or
|
||||
* without modification, are permitted provided that the following
|
||||
* 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.
|
||||
* - 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.
|
||||
*
|
||||
* ////////////////////////////////////////////////////////////////////////// */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue