mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 05:10:01 +03:00
little things
This commit is contained in:
parent
fa500f2774
commit
671aacf86d
5 changed files with 17 additions and 6 deletions
2
sqlite.d
2
sqlite.d
|
@ -46,7 +46,7 @@ import std.conv;
|
|||
scope(exit))
|
||||
*/
|
||||
|
||||
Sqlite openDBAndCreateIfNotPresent(string filename, string sql, void delegate(Sqlite db) initialize = null){
|
||||
Sqlite openDBAndCreateIfNotPresent(string filename, string sql, scope void delegate(Sqlite db) initialize = null){
|
||||
if(exists(filename))
|
||||
return new Sqlite(filename);
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue