mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
Make std.stdio.File 'package' accessible
This is required in the new std.process.
This commit is contained in:
parent
cf3a3ee0a5
commit
8a95cadf29
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ struct File
|
||||||
private Impl* _p;
|
private Impl* _p;
|
||||||
private string _name;
|
private string _name;
|
||||||
|
|
||||||
private this(FILE* handle, string name, uint refs = 1, bool isPipe = false)
|
package this(FILE* handle, string name, uint refs = 1, bool isPipe = false)
|
||||||
{
|
{
|
||||||
assert(!_p);
|
assert(!_p);
|
||||||
_p = cast(Impl*) enforce(malloc(Impl.sizeof), "Out of memory");
|
_p = cast(Impl*) enforce(malloc(Impl.sizeof), "Out of memory");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue