Differences From Artifact [9a6609551ad86e62]:
- File
src/util.d
- 2015-04-21 10:46:55 - part of checkin [4e2933c620] on branch trunk - Rebased to the latest verson dmd 2.067. Not yet verified the outcome. (user: kinaba) [annotate]
To Artifact [affffc4f40848d74]:
- File
src/util.d
- 2015-04-30 23:29:51 - part of checkin [ab3b073ef6] on branch trunk - private import => import (since in the latest D it is the default.) (user: kinaba) [annotate]
1 private import win32.windows; | 1 import win32.windows;
2 private import std.string; | 2 import std.string;
3 private import std.file; | 3 import std.file;
4 4
5 char lastChar( string s ) 5 char lastChar( string s )
6 { return *CharPrevA(cast(char*)s.ptr, cast(char*)s.ptr+s.length); } 6 { return *CharPrevA(cast(char*)s.ptr, cast(char*)s.ptr+s.length); }
7 7
8 //---------------------------------------------------------------- 8 //----------------------------------------------------------------
9 // int do_opApply!(E, C)( collection, delegate ); 9 // int do_opApply!(E, C)( collection, delegate );
10 // int do_opApply!(E) ( array, delegate ); 10 // int do_opApply!(E) ( array, delegate );