From 80e711a986b8593df94e8cbf700058619fdab321 Mon Sep 17 00:00:00 2001 From: Andrei Alexandrescu Date: Sun, 19 Apr 2009 20:39:08 +0000 Subject: [PATCH] added File.getFP() with type FILE* --- std/stdio.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/stdio.d b/std/stdio.d index 7ad5c8833..d2b437076 100644 --- a/std/stdio.d +++ b/std/stdio.d @@ -615,7 +615,7 @@ File) never takes the initiative in closing the file. */ /** Returns the $(D FILE*) corresponding to this object. */ - auto getFP() + FILE* getFP() { enforce(p && p.handle, "Attempting to call getFP() on an unopened file");