Mercurial > projects > myrrdin
view src/tools.d @ 2:fc2f936a961c
basic loading, to be fixed
author | fred@reichbier.de |
---|---|
date | Thu, 17 Jul 2008 21:06:43 +0200 |
parents | |
children |
line wrap: on
line source
module tools; import tango.io.File; char[] read_file_contents(char[] filename) { auto file = new File (filename); auto content = cast(char[]) file.read(); return content; }