Commit f955b286 authored by Carsten Schlote's avatar Carsten Schlote
Browse files

Move global imports to top of source file

parent 6e92ca1d
......@@ -10,6 +10,10 @@ import std.random;
import std.stdio;
import std.string;
/* Import the binding modules into scope */
import lmdb;
import lmdb_oo;
/** Minimalistic demo code for lmdb
* @param args Commandline args as a dynamic array of strings
*/
......@@ -52,9 +56,6 @@ bool check_rc(int rc, string msg, int line = __LINE__)
return true;
}
/* Import the complete module into scope */
import lmdb;
/** Simple test for the low-level C library calls
* @param args Commandline args as a dynamic array of strings
*/
......@@ -177,8 +178,6 @@ free_mdb_env:
/* ------------------------------------------------------------------ */
import lmdb_oo;
/** Simple test for the D OO-layer classes and operation
*/
void lmdb_toy2(const string[] args)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment